#include indirect_dispatch to get prototypes for FBO functions.
Fix a couple of warnings.
This commit is contained in:
parent
dcc43d57cb
commit
8e3ad87d01
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2006-03-21 Kristian Høgsberg <krh@redhat.com>
|
||||
|
||||
* GL/glx/glxcmds.c:
|
||||
* GL/glx/glxcmdsswap.c: #include indirect_dispatch to get
|
||||
prototypes for FBO functions.
|
||||
|
||||
* GL/glx/glxcontext.h:
|
||||
* GL/glx/glxserver.h:
|
||||
* GL/glx/glxdri.c: Fix a couple of warnings.
|
||||
|
||||
2006-03-20 Donnie Berkholz <spyderous@gentoo.org>
|
||||
|
||||
reviewed by: Kristian Høgsberg
|
||||
|
|
|
@ -57,6 +57,7 @@
|
|||
#include "glapi.h"
|
||||
#include "glthread.h"
|
||||
#include "dispatch.h"
|
||||
#include "indirect_dispatch.h"
|
||||
|
||||
#ifndef GLX_TEXTURE_TARGET_EXT
|
||||
#define GLX_TEXTURE_TARGET_EXT 0x6001
|
||||
|
|
|
@ -54,6 +54,7 @@
|
|||
#include "glapi.h"
|
||||
#include "glthread.h"
|
||||
#include "dispatch.h"
|
||||
#include "indirect_dispatch.h"
|
||||
|
||||
static int __glXSwapGetFBConfigsSGIX(__GLXclientState *cl, GLbyte *pc);
|
||||
static int __glXSwapCreateContextWithConfigSGIX(__GLXclientState *cl, GLbyte *pc);
|
||||
|
|
|
@ -177,4 +177,6 @@ struct __GLXcontext {
|
|||
#define __GLX_PENDING_DESTROY 0x2
|
||||
#define __GLX_PENDING_SWAP 0x4
|
||||
|
||||
void __glXContextDestroy(__GLXcontext *context);
|
||||
|
||||
#endif /* !__GLX_context_h__ */
|
||||
|
|
|
@ -227,7 +227,7 @@ __glXDRIcontextDestroy(__GLXcontext *baseContext)
|
|||
context->driContext.destroyContext(NULL,
|
||||
context->base.pScreen->myNum,
|
||||
context->driContext.private);
|
||||
__glXContextDestroy(context);
|
||||
__glXContextDestroy(&context->base);
|
||||
xfree(context);
|
||||
}
|
||||
|
||||
|
|
|
@ -101,6 +101,9 @@ extern __GLXscreen *__glXgetActiveScreen(int num);
|
|||
void GlxSetVisualConfigs(int nconfigs,
|
||||
__GLXvisualConfig *configs, void **privates);
|
||||
|
||||
struct _glapi_table;
|
||||
void GlxSetRenderTables (struct _glapi_table *table);
|
||||
|
||||
void __glXScreenInitVisuals(__GLXscreen *screen);
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue
Block a user