Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

glGenTextures in ofApp

$
0
0

@gh00st wrote:

Hi all,

i'm trying to use

	glGenTextures(1, (GLuint *)&texture.texData.textureID);

inside ofApp, but getting always glError 0x500, as glGenTexures can't create the texture...

during ofApp::setup() im in the render thread or not?
anyway in ofApp::draw() im in the opengl thread for sure, but always the same error..

can somebody explain me what's wrong?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Latest Images

Trending Articles



Latest Images