H. Verbeet : d3d8: Add detection for GL_ARB_point_parameters support.
Alexandre Julliard
julliard at wine.codeweavers.com
Sun Feb 5 06:52:36 CST 2006
Module: wine
Branch: refs/heads/master
Commit: 172a9e1fcd4b325502d228257a0daa46a29c5a87
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=172a9e1fcd4b325502d228257a0daa46a29c5a87
Author: H. Verbeet <hverbeet at gmail.com>
Date: Sun Feb 5 12:19:04 2006 +0100
d3d8: Add detection for GL_ARB_point_parameters support.
---
dlls/d3d8/directx.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
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-cvs
mailing list