Module: wine Branch: master Commit: 5f7b77bb9174cca227d96c9b2d0588fba3919e7b URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=5f7b77bb9174cca227d96c9b...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Sep 11 16:17:53 2006 +0200
winex11.drv: Avoid compile errors in the non-OpenGL case.
---
dlls/winex11.drv/opengl.c | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c index 40aa89f..989ffcc 100644 --- a/dlls/winex11.drv/opengl.c +++ b/dlls/winex11.drv/opengl.c @@ -1226,6 +1226,13 @@ HDC WINAPI X11DRV_wglGetCurrentDC(void) return 0; }
+/* OpenGL32 wglGetCurrentReadDCARB */ +HDC WINAPI X11DRV_wglGetCurrentReadDCARB(void) +{ + ERR_(opengl)("No OpenGL support compiled in.\n"); + return 0; +} + /* OpenGL32 wglMakeCurrent */ BOOL WINAPI X11DRV_wglMakeCurrent(HDC hdc, HGLRC hglrc) { ERR_(opengl)("No OpenGL support compiled in.\n"); @@ -1246,7 +1253,7 @@ BOOL WINAPI X11DRV_wglShareLists(HGLRC h }
/* WGL helper function which handles differences in glGetIntegerv from WGL and GLX */ -void X11DRV_wglGetIntegerv(GLenum pname, GLint* params) { +void X11DRV_wglGetIntegerv(int pname, int* params) { ERR_(opengl)("No OpenGL support compiled in.\n"); }