Commit 5f7b77bb authored by Alexandre Julliard's avatar Alexandre Julliard

winex11.drv: Avoid compile errors in the non-OpenGL case.

parent ade98b97
...@@ -1226,6 +1226,13 @@ HDC WINAPI X11DRV_wglGetCurrentDC(void) { ...@@ -1226,6 +1226,13 @@ HDC WINAPI X11DRV_wglGetCurrentDC(void) {
return 0; return 0;
} }
/* OpenGL32 wglGetCurrentReadDCARB */
HDC WINAPI X11DRV_wglGetCurrentReadDCARB(void)
{
ERR_(opengl)("No OpenGL support compiled in.\n");
return 0;
}
/* OpenGL32 wglMakeCurrent */ /* OpenGL32 wglMakeCurrent */
BOOL WINAPI X11DRV_wglMakeCurrent(HDC hdc, HGLRC hglrc) { BOOL WINAPI X11DRV_wglMakeCurrent(HDC hdc, HGLRC hglrc) {
ERR_(opengl)("No OpenGL support compiled in.\n"); ERR_(opengl)("No OpenGL support compiled in.\n");
...@@ -1246,7 +1253,7 @@ BOOL WINAPI X11DRV_wglShareLists(HGLRC hglrc1, HGLRC hglrc2) { ...@@ -1246,7 +1253,7 @@ BOOL WINAPI X11DRV_wglShareLists(HGLRC hglrc1, HGLRC hglrc2) {
} }
/* WGL helper function which handles differences in glGetIntegerv from WGL and GLX */ /* 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"); ERR_(opengl)("No OpenGL support compiled in.\n");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment