summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorDaniel Borca <[email protected]>2004-01-07 12:49:47 +0000
committerDaniel Borca <[email protected]>2004-01-07 12:49:47 +0000
commite1ecdc337e2047873e8dad63c7c0388348d1d5b7 (patch)
tree4bdc349daaccaabd7b53abc34fc31850d0587f6b /src/mesa/drivers
parent972f3ccedfbe0591a76bee95d8eabf4a4a588c29 (diff)
wgl interface
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/glide/fxopengl.def1
-rw-r--r--src/mesa/drivers/glide/fxwgl.c7
2 files changed, 8 insertions, 0 deletions
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)
{