diff --git a/PyInt.cpp b/PyInt.cpp index cee7c8d6..84e0505e 100644 --- a/PyInt.cpp +++ b/PyInt.cpp @@ -44,9 +44,11 @@ void render_task::run() { // build texture ::glTexImage2D( GL_TEXTURE_2D, 0, - GL_RGBA8, + GL_RGB8, PyInt_AsLong( outputwidth ), PyInt_AsLong( outputheight ), 0, GL_RGB, GL_UNSIGNED_BYTE, reinterpret_cast( PyString_AsString( output ) ) ); + + glFlush(); } Py_DECREF( outputheight ); Py_DECREF( outputwidth ); diff --git a/version.h b/version.h index e2583983..bf9d6139 100644 --- a/version.h +++ b/version.h @@ -1 +1 @@ -#define VERSION_INFO "M7 13.10.2018, based on tmj-68f82be4" +#define VERSION_INFO "M7 13.10.2018/2, based on tmj-68f82be4"