(try 2)wined3d: Add GL_NV_point_sprite extension.

Rico Schüller kgbricola at web.de
Sat Jul 10 06:16:50 CDT 2010


Hi,

this patch adds the GL_NV_point_sprite extension. It is used in cases 
where the function pointer for glPointParameteri couldn't be queried. 
This is the case on windows, which only supports opengl 1.1 so the 
function pointers to 2.0 functions aren't available. So we need to use 
the extension.

This is try 2 with the following improvement:
- remove the redundant 
"context->gl_info->supported[WINED3D_GL_VERSION_2_0]" statement

Cheers
Rico

---
  dlls/wined3d/context.c    |   34 +++++++++++++++++++++++++++++-----
  dlls/wined3d/directx.c    |    1 +
  dlls/wined3d/drawprim.c   |    4 +++-
  dlls/wined3d/wined3d_gl.h |   16 ++++++++++++++++
  4 files changed, 49 insertions(+), 6 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-wined3d-Add-GL_NV_point_sprite-extension.txt
Type: text/x-patch
Size: 6270 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100710/346c36e4/attachment-0001.bin>


More information about the wine-patches mailing list