Hi, I am using SDL and tryed using multisample. The code compiled but at runtime multisample didn’t work either fullscreen or not and when I asked SDL with SDL_GL_GetAttrib the function just IGNORED the variable I passed: ie. I initialized
// sett attribs
…
// set gl video mode
…
// check if we got attribs
int a = 999;
SDL_GL_GetAttrib(SDL_MULTISAMPLESAMPLES, &a);
printf( a) ->999
the dll version is 1.2.7.0)---------------------------------
Nuovo Yahoo! Messenger E’ molto pi? divertente: Audibles, Avatar, Webcam, Giochi, Rubrica
Scaricalo ora!
Quoth Enrico Urbano , on 2004-10-09 14:19:19 +0200:
// check if we got attribs
int a = 999;
SDL_GL_GetAttrib(SDL_MULTISAMPLESAMPLES, &a);
If the SDL_GL_GetAttribute call returned nonzero, it failed, and the
value of a would then not be guaranteed to have the correct value. Try
checking the return value of SDL_GL_GetAttribute, perhaps.
—> Drake Wilson
-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20041009/12c75826/attachment.pgp
yes, GL_getAttrib returned -1
and sdlError is NULL!
Glut sample programs didn’t work either when I tried but some OpenGL programs I have (notably a flight free simulator whose name I dont remember) do multisample correctly. When I set multisample to be always active in the NV control panel it works!---------------------------------
Nuovo Yahoo! Messenger E’ molto pi? divertente: Audibles, Avatar, Webcam, Giochi, Rubrica
Scaricalo ora!
Enrico Urbano wrote:
yes, GL_getAttrib returned -1
and sdlError is NULL!
Glut sample programs didn’t work either when I tried but some OpenGL
programs I have (notably a flight free simulator whose name I dont
remember) do multisample correctly. When I set multisample to be
always active in the NV control panel it works!
What’s your video cards ? Some cards (geforce 1 & 2) only have
supersampling, and that’s not compatible with OpenGL multisampling.
Thus, it doesn’t work with SDL because it’s not the same thing.
Stephane
Yeah!! Thank you very much!!
thats it, I have a Geforce 2.>What’s your video cards ? Some cards (geforce 1 & 2) only have
supersampling, and that’s not compatible with OpenGL multisampling.
Thus, it doesn’t work with SDL because it’s not the same thing.
Nuovo Yahoo! Messenger E’ molto pi? divertente: Audibles, Avatar, Webcam, Giochi, Rubrica
Scaricalo ora!