Преглед изворни кода

apple: Purge existing (not working) GLX_USE_APPLEGL from dated libGL on OSX

Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
tags/mesa-7.7-1
Jeremy Huddleston пре 16 година
родитељ
комит
287cbba9b7
3 измењених фајлова са 0 додато и 24 уклоњено
  1. 0
    13
      src/glx/x11/dri_glx.c
  2. 0
    7
      src/glx/x11/glxcurrent.c
  3. 0
    4
      src/mesa/main/dispatch.c

+ 0
- 13
src/glx/x11/dri_glx.c Прегледај датотеку

@@ -280,8 +280,6 @@ static const __DRIextension *loader_extensions[] = {
NULL
};

#ifndef GLX_USE_APPLEGL

/**
* Perform the required libGL-side initialization and call the client-side
* driver's \c __driCreateNewScreen function.
@@ -475,17 +473,6 @@ CallCreateNewScreen(Display * dpy, int scrn, __GLXscreenConfigs * psc,
return NULL;
}

#else /* !GLX_USE_APPLEGL */

static void *
CallCreateNewScreen(Display * dpy, int scrn, __GLXscreenConfigs * psc,
__GLXDRIdisplayPrivate * driDpy)
{
return NULL;
}

#endif /* !GLX_USE_APPLEGL */

static void
driDestroyContext(__GLXDRIcontext * context,
__GLXscreenConfigs * psc, Display * dpy)

+ 0
- 7
src/glx/x11/glxcurrent.c Прегледај датотеку

@@ -475,13 +475,6 @@ MakeContextCurrent(Display * dpy, GLXDrawable draw,
IndirectAPI = __glXNewIndirectAPI();
_glapi_set_dispatch(IndirectAPI);

#ifdef GLX_USE_APPLEGL
do {
extern void XAppleDRIUseIndirectDispatch(void);
XAppleDRIUseIndirectDispatch();
} while (0);
#endif

state = (__GLXattribute *) (gc->client_state_private);

gc->currentContextTag = reply.contextTag;

+ 0
- 4
src/mesa/main/dispatch.c Прегледај датотеку

@@ -37,8 +37,6 @@
* \author Brian Paul <brian@precisioninsight.com>
*/

#ifndef GLX_USE_APPLEGL

#include "main/glheader.h"
#include "main/compiler.h"
#include "glapi/glapi.h"
@@ -92,5 +90,3 @@
#include "glapi/glapitemp.h"

#endif /* USE_X86_ASM */

#endif /* !GLX_USE_APPLEGL */

Loading…
Откажи
Сачувај