GLTexture
in
Contributed Library Questions
•
3 years ago
Greetings
Reinstantiating a GLTexture object (part of the GLGraphics library) causes the following error:
Example code (I know it's not necessary to reinstantiate in this context):Invalid memory access of location 0x0 eip=0x98d4a4c5
- import processing.opengl.*;
- import codeanticode.glgraphics.*;
- GLTexture tex;
- void setup()
- {
- size(400, 400, GLConstants.GLGRAPHICS);
- }
- void draw()
- {
- tex = new GLTexture(this, width, height);
- tex.clear(50);
- image(tex, 0, 0);
- }
1