Skip to content

Commit

Permalink
Increase VBO size
Browse files Browse the repository at this point in the history
  • Loading branch information
N3RDIUM committed Aug 13, 2022
1 parent 3d25a60 commit 26dd1a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ def shared_context(self, window):
def create_vbo(self, window):
self.vbo, self.vbo_1 = glGenBuffers (2)
glBindBuffer(GL_ARRAY_BUFFER, self.vbo)
glBufferData(GL_ARRAY_BUFFER, 64000000, None, GL_STATIC_DRAW)
glBufferData(GL_ARRAY_BUFFER, 640000000, None, GL_STATIC_DRAW)
glBindBuffer(GL_ARRAY_BUFFER, self.vbo_1)
glBufferData(GL_ARRAY_BUFFER, 64000000, None, GL_STATIC_DRAW)
glBufferData(GL_ARRAY_BUFFER, 640000000, None, GL_STATIC_DRAW)

glfw.make_context_current(None)
thread = threading.Thread(target=self.shared_context, args=[window], daemon=True)
Expand Down

0 comments on commit 26dd1a6

Please sign in to comment.