From e1ecdc337e2047873e8dad63c7c0388348d1d5b7 Mon Sep 17 00:00:00 2001 From: Daniel Borca Date: Wed, 7 Jan 2004 12:49:47 +0000 Subject: [PATCH] wgl interface --- src/mesa/drivers/glide/fxopengl.def | 1 + src/mesa/drivers/glide/fxwgl.c | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/src/mesa/drivers/glide/fxopengl.def b/src/mesa/drivers/glide/fxopengl.def index 84614923bae..86ff1001166 100644 --- a/src/mesa/drivers/glide/fxopengl.def +++ b/src/mesa/drivers/glide/fxopengl.def @@ -916,6 +916,7 @@ EXPORTS wglDescribePixelFormat wglGetCurrentContext wglGetCurrentDC + wglGetDefaultProcAddress wglGetLayerPaletteEntries wglGetPixelFormat wglGetProcAddress diff --git a/src/mesa/drivers/glide/fxwgl.c b/src/mesa/drivers/glide/fxwgl.c index 41960209e93..bba6c98cfc5 100644 --- a/src/mesa/drivers/glide/fxwgl.c +++ b/src/mesa/drivers/glide/fxwgl.c @@ -504,6 +504,13 @@ wglGetProcAddress(LPCSTR lpszProc) return (NULL); } +GLAPI PROC GLAPIENTRY +wglGetDefaultProcAddress(LPCSTR lpszProc) +{ + SetLastError(0); + return (NULL); +} + GLAPI BOOL GLAPIENTRY wglMakeCurrent(HDC hdc, HGLRC hglrc) { -- 2.30.2