Re: [Super-tux-devel] OpenGL fix
Brought to you by:
wkendrick
From: Keir L. <ke...@th...> - 2004-05-04 19:45:28
|
On Tue, 2004-05-04 at 12:46 +0100, Ricardo Cruz wrote: > Hey there, > > I ask for those that have OpenGL problems (looking at Keir Lawson) to try to > do this: replace all 'screen->w' and 'screen->h' by 'SCREEN_W' and > 'SCREEN_H', respectively (and without the ' ). tried that... on make i get: badguy.cpp: In member function `void BadGuy::action_mriceblock(double)': badguy.cpp:264: error: `SCREEN_W' undeclared (first use this function) badguy.cpp:264: error: (Each undeclared identifier is reported only once for each function it appears in.) badguy.cpp: In member function `virtual void BadGuy::action(double)': badguy.cpp:671: error: `SCREEN_H' undeclared (first use this function) make[1]: *** [badguy.o] Error 1 make[1]: Leaving directory `/home/keir/supertux/src' make: *** [all-recursive] Error 1 Keir Lawson |