d3d8: Add detection for GL_ARB_point_parameters support.

This commit is contained in:
H. Verbeet 2006-02-05 12:19:04 +01:00 committed by Alexandre Julliard
parent 9b1beea7d7
commit 172a9e1fcd
1 changed files with 3 additions and 0 deletions

View File

@ -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;