I know, this is not supposed to happen, but for some reason I get an OUT_OF_MEMORY error when calling glDrawArrays. Yes I know, it doesnt say anything about that in the reference pages...
I am checking for gl errors each frame (for debugging purposes) just in case I missed to check after any openGL command. There are no errors at all, unless I insert this line in my program:
If I comment that line out nothing happens, everything works fine. But when its uncommented I get the error.Code :glDrawArrays(GL_QUADS, 0, 4);
Can anybody explain to me why this could happen? Its not even a heavy application or anything, its just a small little test program doing almost nothing.
Thanks in advance.