don't draw whole texture into framebuffer

This commit is contained in:
FunkyFr3sh 2018-05-12 19:54:55 +02:00
parent f5384dc560
commit 7223603a08
2 changed files with 6 additions and 6 deletions

View file

@ -240,7 +240,7 @@ GLuint OpenGL_BuildProgramFromFile(const char *filePath)
if (fragSource && vertSource)
{
const char *versionStart = strstr(source, "#version");
char *versionStart = strstr(source, "#version");
if (versionStart)
{
const char deli[2] = "\n";