summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Borca <dborca@users.sourceforge.net>2004-01-07 12:49:47 +0000
committerDaniel Borca <dborca@users.sourceforge.net>2004-01-07 12:49:47 +0000
commite1ecdc337e2047873e8dad63c7c0388348d1d5b7 (patch)
tree4bdc349daaccaabd7b53abc34fc31850d0587f6b /src
parent972f3ccedfbe0591a76bee95d8eabf4a4a588c29 (diff)
wgl interface
Diffstat (limited to 'src')
-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 84614923ba..86ff100116 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 41960209e9..bba6c98cfc 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)
{