mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 06:59:18 +02:00
Merge branch 'milek-dev' into gfx-work
This commit is contained in:
@@ -48,6 +48,8 @@ void render_task::run() {
|
|||||||
PyInt_AsLong( outputwidth ), PyInt_AsLong( outputheight ), 0,
|
PyInt_AsLong( outputwidth ), PyInt_AsLong( outputheight ), 0,
|
||||||
GL_RGB, GL_UNSIGNED_BYTE, reinterpret_cast<GLubyte const *>( PyString_AsString( output ) ) );
|
GL_RGB, GL_UNSIGNED_BYTE, reinterpret_cast<GLubyte const *>( PyString_AsString( output ) ) );
|
||||||
glGenerateMipmap(GL_TEXTURE_2D);
|
glGenerateMipmap(GL_TEXTURE_2D);
|
||||||
|
|
||||||
|
glFlush();
|
||||||
}
|
}
|
||||||
Py_DECREF( outputheight );
|
Py_DECREF( outputheight );
|
||||||
Py_DECREF( outputwidth );
|
Py_DECREF( outputwidth );
|
||||||
|
|||||||
Reference in New Issue
Block a user