Commit 29792359 authored by Dalai Felinto's avatar Dalai Felinto
Browse files

Make sure things still work with custom build

parent a6a2274f
......@@ -131,7 +131,10 @@ class HMD_Base:
for i in range(2):
self._offscreen[i] =[i], self._height[i], 0)
self._color_texture[i] = self._offscreen[i].color_texture
if hasattr(self._offscreen[i], "color_texture"):
self._color_texture[i] = self._offscreen[i].color_texture
else: # TODO remove this once the patch is merged
self._color_texture[i] = self._offscreen[i].color_object
except Exception as E:
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