maybites / blender-texture-sharing

Spout for Blender

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bgl module will be replace by gpu module

maybites opened this issue · comments

I think we can close this one now :)

I need it here:

success = self.ctx.sendTexture(texture, bgl.GL_TEXTURE_2D, width, height, is_flipped, 0)

do you have an idea how to replace it?

You mean the bgl.GL_TEXTURE_2D? You could replace it with pyopengl's constant definition of GL_TEXTURE_2D, which is installed anyways with syphon-python.