FYI, here is the code in question:
http://cvs.sourceforge.net/viewcvs.py/q2e/q2e/source/win32/glw_win.c?rev=1.1...
The function where pixelFormat is initialized is GLW_ChoosePixelFormat.
Toan
On 12/2/05, fenix@club-internet.fr fenix@club-internet.fr wrote:
----Message d'origine----
Date: Fri, 2 Dec 2005 14:07:24 -0800 De: Toan T Nguyen nguyenthetoan@gmail.com A: wine-devel@winehq.org Sujet: wglGetPixelFormatAttribivARB unexpected RenderType(100)
Hi,
I compile and run Quake2Evolved in linux using winelib. Although every seems fine, there's this error printed out when Q2E scans for the best pixel format:
err:opengl:wglGetPixelFormatAttribivARB unexpected RenderType(100)
I look up my /usr/include/GL/glxATI.h and found these lines:
#ifndef GLX_ATI_pixel_format_float #define GLX_ATI_pixel_format_float 1
#define GLX_RGBA_FLOAT_ATI_BIT 0x00000100
#endif // GLX_ATI_pixel_format_float
Bests,
Toan
Hi
Interesting and fun extension :) Try attached patch if it works (and it should) forward it to wine-patches
Regards, Raphael