D3D8: Add detection for GL_ARB_point_parameters support.

H. Verbeet hverbeet at gmail.com
Sat Feb 4 19:12:56 CST 2006


http://source.winehq.org/git/?p=wine.git;a=commitdiff;h=80c82f527f45ea398120baffe9adc7af024810d7;hp=3c17322e756a70cf0a6fc3f926445aa5c9dd56d4
uses GL_SUPPORT(ARB_POINT_PARAMETERS), but d3d8 doesn't detect
ARB_POINT_PARAMETERS yet.

Changelog:
  - Add detection for GL_ARB_point_parameters support.
-------------- next part --------------
diff --git a/dlls/d3d8/directx.c b/dlls/d3d8/directx.c
index 1c5ce59..e57e9ff 100644
--- a/dlls/d3d8/directx.c
+++ b/dlls/d3d8/directx.c
@@ -398,6 +398,9 @@ static void IDirect3D8Impl_FillGLCaps(LP
 	  TRACE_(d3d_caps)(" FOUND: ARB Multitexture support - GL_MAX_TEXTURE_UNITS_ARB=%u\n", gl_max);
 	  This->gl_info.supported[ARB_MULTITEXTURE] = TRUE;
 	  This->gl_info.max_textures = min(8, gl_max);
+	} else if (strcmp(ThisExtn, "GL_ARB_point_parameters") == 0) {
+	  TRACE_(d3d_caps)(" FOUND: ARB Point parameters support\n");
+	  This->gl_info.supported[ARB_POINT_PARAMETERS] = TRUE;
 	} else if (strcmp(ThisExtn, "GL_ARB_point_sprite") == 0) {
 	  TRACE_(d3d_caps)(" FOUND: ARB Point sprite support\n");
 	  This->gl_info.supported[ARB_POINT_SPRITE] = TRUE;




More information about the wine-patches mailing list