Model is now able to push data into VBO

This commit is contained in:
2019-08-10 13:36:37 -05:00
parent 80a6389af4
commit 185d760a83
5 changed files with 38 additions and 26 deletions

View File

@@ -98,7 +98,6 @@ class IMICFPS
glDisableClientState(GL_NORMAL_ARRAY)
if model.has_texture?
glDisableClientState(GL_TEXTURE_COORD_ARRAY)
# glBindTexture(GL_TEXTURE_2D, 0)
glDisable(GL_TEXTURE_2D)
end
glDisable(GL_CULL_FACE) if model.entity.backface_culling