diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2006-01-25 15:55:49 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2006-01-25 15:55:49 +0000 |
commit | 965e888f490dfd3c60fd710410a509046bd3ca56 (patch) | |
tree | 970255692740545f287a1f53900c4c13ef90a891 | |
parent | 89f3e7f749cff434d0650d54460802f273654374 (diff) |
add wglGetExtensionsStringARB() from trunk
-rw-r--r-- | src/mesa/drivers/windows/gdi/mesa.def | 1 | ||||
-rw-r--r-- | src/mesa/drivers/windows/gdi/wgl.c | 6 | ||||
-rw-r--r-- | src/mesa/glapi/mesadef.py | 3 |
3 files changed, 8 insertions, 2 deletions
diff --git a/src/mesa/drivers/windows/gdi/mesa.def b/src/mesa/drivers/windows/gdi/mesa.def index 5493c0d590..b103fce21f 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 8645dcfa1d..1a9ab79ee5 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.9.2.4 2005/12/13 18:10:24 kschultz Exp $ */ +/* $Id: wgl.c,v 1.9.2.5 2006/01/25 15:55:49 brianp Exp $ */ /* * This library is free software; you can redistribute it and/or @@ -692,3 +692,7 @@ WINGDIAPI BOOL GLAPIENTRY wglSwapLayerBuffers(HDC hdc, return(FALSE); } +WINGDIAPI const char * GLAPIENTRY wglGetExtensionsStringARB(HDC hdc) +{ + return "WGL_ARB_extensions_string"; +} diff --git a/src/mesa/glapi/mesadef.py b/src/mesa/glapi/mesadef.py index 7aa2776ca4..769145cca4 100644 --- a/src/mesa/glapi/mesadef.py +++ b/src/mesa/glapi/mesadef.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# $Id: mesadef.py,v 1.2 2004/05/10 07:42:27 dborca Exp $ +# $Id: mesadef.py,v 1.2.10.1 2006/01/25 15:55:49 brianp Exp $ # Mesa 3-D graphics library # Version: 4.1 @@ -89,6 +89,7 @@ def PrintTail(): print '\twglDescribePixelFormat' print '\twglGetCurrentContext' print '\twglGetCurrentDC' + print '\twglGetExtensionsStringARB' print '\twglGetLayerPaletteEntries' print '\twglGetPixelFormat' print '\twglGetProcAddress' |