Search found 2 matches

by Nequenz
Tue Sep 15, 2015 5:19 am
Forum: Support and Development
Topic: FFI - Using OpenGL.
Replies: 2
Views: 1347

Re: FFI - Using OpenGL.

In LÖVE 0.9.2 and below, love.graphics.setColor calls glColor itself, which will overwrite your glColor call. LÖVE also sets an orthographic projection matrix in the GL_PROJECTION matrix stack with a size equal to the window's size, so your triangle is probably showing up, just at a very small size...
by Nequenz
Mon Sep 14, 2015 5:50 pm
Forum: Support and Development
Topic: FFI - Using OpenGL.
Replies: 2
Views: 1347

FFI - Using OpenGL.

Hello everyone i downloaded the file 'OpenGL.lua' from GitHub and i'm trying to use OpenGL in Love project just it's interesting. But 'glColor3f\i(r,g,b)' doesn't work i see the black triangle but 'glClearColor" works great maybe someone knows what is the problem. P.S sorry for my broken englis...