pw10n / Island

CSC 476 Final Project
4 stars 1 forks source link

glError in main display function. #85

Closed pw10n closed 14 years ago

pw10n commented 14 years ago

There is an invalid operation and a stack overflow error in main. I'm not sure whats causing them... one of them (invalid operation) may be caused by the shader code, the other one (stack overflow) likely isnt.

glError in file c:\documents and settings\pwongvib\desktop\csc476\other\island\s rc\main.cpp @ line 1552: invalid operation glError in file c:\documents and settings\pwongvib\desktop\csc476\other\island\s rc\main.cpp @ line 1568: stack overflow

pw10n commented 14 years ago

invalid operation bug is resolved.

stack overflow has been tracked down to a draw function in gameobject... please go through and check each of your draw functions and make sure that all pushes are poped and there are no looped pushes that may exceed gl's stack size of 32!

pw10n commented 14 years ago

fixed mismatched push/pop, fixes texture problem and glError. closed by f32b7c3e95880cd0806a07ed64b44ca0ecbb2e6b

pw10n commented 14 years ago

maybe this one was closed too early. reopened :)

wpatten commented 14 years ago

The error didn't seem to show so hopefully it is fixed. Will close it for now...