mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
fix warning
This commit is contained in:
parent
da9b315099
commit
9d1ac63f50
@ -317,7 +317,8 @@ void runtest_fullscreen_sizes(GraphicsWindow *win) {
|
|||||||
|
|
||||||
bool query_fullscreen_testresult(unsigned int xsize,unsigned int ysize) {
|
bool query_fullscreen_testresult(unsigned int xsize,unsigned int ysize) {
|
||||||
// stupid linear search that works ok as long as total tests are small
|
// stupid linear search that works ok as long as total tests are small
|
||||||
for(int i=0;i<num_fullscreen_testsizes;i++) {
|
unsigned int i;
|
||||||
|
for(i=0;i<num_fullscreen_testsizes;i++) {
|
||||||
if((fullscreen_testsizes[i*2]==xsize) &&
|
if((fullscreen_testsizes[i*2]==xsize) &&
|
||||||
(fullscreen_testsizes[i*2+1]==ysize))
|
(fullscreen_testsizes[i*2+1]==ysize))
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user