Henri Verbeet : wined3d: Use GL_ALIASED_POINT_SIZE_RANGE to retrieve the max point size.
Alexandre Julliard
julliard at winehq.org
Fri Jan 9 09:52:15 CST 2009
Module: wine
Branch: master
Commit: e028e3f7bd6d63c5f5739120de6d615677846ee4
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e028e3f7bd6d63c5f5739120de6d615677846ee4
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Fri Jan 9 10:23:42 2009 +0100
wined3d: Use GL_ALIASED_POINT_SIZE_RANGE to retrieve the max point size.
---
dlls/wined3d/directx.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index 456aa07..7c0fa14 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -744,7 +744,7 @@ static BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info) {
gl_info->max_texture_size = gl_max;
TRACE_(d3d_caps)("Maximum texture size support - max texture size=%d\n", gl_max);
- glGetFloatv(GL_POINT_SIZE_RANGE, gl_floatv);
+ glGetFloatv(GL_ALIASED_POINT_SIZE_RANGE, gl_floatv);
gl_info->max_pointsizemin = gl_floatv[0];
gl_info->max_pointsize = gl_floatv[1];
TRACE_(d3d_caps)("Maximum point size support - max point size=%f\n", gl_floatv[1]);
More information about the wine-cvs
mailing list