Re: [Super-tux-devel] OpenGL fix
Brought to you by:
wkendrick
From: Ricardo C. <ri...@ae...> - 2004-05-07 22:19:47
|
Bad news is that we are unable to fix that bug... Good news is that it isn't our fault anyway ;) I will update my drivers (to the 5xxx version), as soon as I install a new version of Mandrake, and then I will check if it is driver's fault or not. Anyway, thanks for your help. Ricardo Cruz Em Sexta, 7 de Maio de 2004 18:40, o Keir Lawson escreveu: > On Thu, 2004-05-06 at 22:38 +0100, Ricardo Cruz wrote: > > Oh, right. You just needed to replace endl by std::endl, I am used to > > put 'using std::endl;' in the beginning of my code... > > > > Anyway, if you have used: > > std::cerr << "screen->w: " << SCREEN_W; > > std::cerr << "screen->h: " << SCREEN_H; > > > > they will surely print 640 and 480, since you are just outputting the > > definitions... Instead of SCREEN_W and SCREEN_H use screen->w and > > screen->h, respectively. These in the end of the st_video_setup_gl(), > > that it. > > the following lines i put right at then end of that function: > > std::cerr << "SCREEN_W: " << screen->w << std::endl; > std::cerr << "SCREEN_H: " << screen->h << std::endl; > > the extra output is the same: > > > SCREEN_W: 640 > SCREEN_H: 480 > > Keir Lawson > > -- Everything is worth precisely as much as a belch, the difference being that a belch is more satisfying. -- Ingmar Bergman |