Skip to content

Commit

Permalink
transform feedback: disable all context flags
Browse files Browse the repository at this point in the history
  • Loading branch information
einarf committed Jun 23, 2020
1 parent e4de82d commit 6c07d6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arcade/experimental/examples/transform_feedback.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ def __init__(self, width, height, title):
self.gravity_1 = self.ctx.geometry([BufferDescription(self.buffer_1, '2f 2f', ['in_pos', 'in_vel'])])
self.gravity_2 = self.ctx.geometry([BufferDescription(self.buffer_2, '2f 2f', ['in_pos', 'in_vel'])])

self.ctx.enable_only() # Ensure no context flags are set
self.time = time.time()

def gen_initial_data(self, count):
Expand Down

0 comments on commit 6c07d6e

Please sign in to comment.