Index: wgl_ext.c =================================================================== RCS file: /home/wine/wine/dlls/opengl32/wgl_ext.c,v retrieving revision 1.13 diff -u -r1.13 wgl_ext.c --- wgl_ext.c 24 Nov 2005 18:45:12 -0000 1.13 +++ wgl_ext.c 2 Dec 2005 23:53:42 -0000 @@ -328,6 +328,16 @@ #define WGL_AUX8_ARB 0x208F #define WGL_AUX9_ARB 0x2090 +/** + * WGL_ATI_pixel_format_float + */ +#define WGL_TYPE_RGBA_FLOAT_ATI 0x21A0 +#define GL_TYPE_RGBA_FLOAT_ATI 0x8820 +#define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835 +/** GLX_ATI_pixel_format_float */ +#define GLX_RGBA_FLOAT_ATI_BIT 0x00000100 + + #if 0 /* not used yet */ static unsigned ConvertAttribGLXtoWGL(const int* iWGLAttr, int* oGLXAttr) { unsigned nAttribs = 0; @@ -392,8 +402,9 @@ case WGL_PIXEL_TYPE_ARB: pop = iWGLAttr[++cur]; switch (pop) { - case WGL_TYPE_RGBA_ARB: pop = GLX_RGBA_BIT; break ; case WGL_TYPE_COLORINDEX_ARB: pop = GLX_COLOR_INDEX_BIT; isColor = 1; break ; + case WGL_TYPE_RGBA_ARB: pop = GLX_RGBA_BIT; break ; + case WGL_TYPE_RGBA_FLOAT_ATI: pop = GLX_RGBA_FLOAT_ATI_BIT; break ; default: ERR("unexpected PixelType(%x)\n", pop); pop = 0; @@ -559,8 +570,9 @@ hTest = glXGetFBConfigAttrib(display, curCfg, curGLXAttr, &tmp); if (hTest) goto get_error; switch (tmp) { - case GLX_RGBA_BIT: piValues[i] = WGL_TYPE_RGBA_ARB; break; case GLX_COLOR_INDEX_BIT: piValues[i] = WGL_TYPE_COLORINDEX_ARB; break ; + case GLX_RGBA_BIT: piValues[i] = WGL_TYPE_RGBA_ARB; break; + case GLX_RGBA_FLOAT_ATI_BIT: piValues[i] = WGL_TYPE_RGBA_FLOAT_ATI; break ; default: ERR("unexpected RenderType(%x)\n", tmp); piValues[i] = WGL_TYPE_RGBA_ARB;