summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Schultz <kschultz@freedesktop.org>2006-01-25 06:02:55 +0000
committerKarl Schultz <kschultz@freedesktop.org>2006-01-25 06:02:55 +0000
commit7f1274fa8b98f334fc12e13f18caf23b2a79a415 (patch)
tree53eda3dcd70e96a835cb941e980b3f92c062adc5
parent99da2d30eb08e50edf4b0067518af3acdf2dabc0 (diff)
add wglGetExtensionsStringARB
-rw-r--r--src/mesa/drivers/windows/gdi/mesa.def1
-rw-r--r--src/mesa/drivers/windows/gdi/wgl.c6
2 files changed, 6 insertions, 1 deletions
diff --git a/src/mesa/drivers/windows/gdi/mesa.def b/src/mesa/drivers/windows/gdi/mesa.def
index fbb07ba4d7..5c11a49e05 100644
--- a/src/mesa/drivers/windows/gdi/mesa.def
+++ b/src/mesa/drivers/windows/gdi/mesa.def
@@ -969,6 +969,7 @@ EXPORTS
wglUseFontBitmapsW
wglUseFontOutlinesA
wglUseFontOutlinesW
+ wglGetExtensionsStringARB
;
; Mesa internals - mostly for OSMESA
_ac_CreateContext
diff --git a/src/mesa/drivers/windows/gdi/wgl.c b/src/mesa/drivers/windows/gdi/wgl.c
index 1f69f73f9a..47e32c579f 100644
--- a/src/mesa/drivers/windows/gdi/wgl.c
+++ b/src/mesa/drivers/windows/gdi/wgl.c
@@ -1,4 +1,4 @@
-/* $Id: wgl.c,v 1.10 2005/09/05 14:48:39 kschultz Exp $ */
+/* $Id: wgl.c,v 1.11 2006/01/25 06:02:55 kschultz Exp $ */
/*
* This library is free software; you can redistribute it and/or
@@ -691,3 +691,7 @@ WINGDIAPI BOOL GLAPIENTRY wglSwapLayerBuffers(HDC hdc,
return(FALSE);
}
+WINGDIAPI const char * GLAPIENTRY wglGetExtensionsStringARB(HDC hdc)
+{
+ return "WGL_ARB_extensions_string";
+}