Commit 13000a63 authored by Dalai Felinto's avatar Dalai Felinto
Browse files

using latest incarnation of gpu api

parent 7bdbe424
...@@ -166,11 +166,11 @@ class VirtualRealityDisplayOperator(bpy.types.Operator): ...@@ -166,11 +166,11 @@ class VirtualRealityDisplayOperator(bpy.types.Operator):
self._hmd.setEye(i) self._hmd.setEye(i)
offscreen_object = self._hmd.offscreen_object offscreen_object = self._hmd.offscreen_object
modelview_matrix = self._hmd.modelview_matrix
projection_matrix = self._hmd.projection_matrix projection_matrix = self._hmd.projection_matrix
modelview_matrix = self._hmd.modelview_matrix
# drawing # drawing
gpu.offscreen_object_draw(context, offscreen_object, modelview_matrix, projection_matrix) gpu.offscreen_object_draw(offscreen_object, projection_matrix, modelview_matrix)
self._hmd.frameReady() self._hmd.frameReady()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment