From 172a9e1fcd4b325502d228257a0daa46a29c5a87 Mon Sep 17 00:00:00 2001 From: "H. Verbeet" Date: Sun, 5 Feb 2006 12:19:04 +0100 Subject: [PATCH] d3d8: Add detection for GL_ARB_point_parameters support. --- dlls/d3d8/directx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/d3d8/directx.c b/dlls/d3d8/directx.c index 1c5ce599fd..e57e9ff93e 100644 --- a/dlls/d3d8/directx.c +++ b/dlls/d3d8/directx.c @@ -398,6 +398,9 @@ static void IDirect3D8Impl_FillGLCaps(LPDIRECT3D8 iface, Display* display) { 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;