don't draw whole texture into framebuffer
This commit is contained in:
parent
f5384dc560
commit
7223603a08
2 changed files with 6 additions and 6 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue