Closed GoogleCodeExporter closed 9 years ago
Hi, can you try this:
In OpenGLTexture.cpp,
Can you replace png_voidp_NULL with NULL ?
and add "#define PNG_NO_PEDANTIC_WARNINGS" like this...
#include "./stdafx.h"
#include <stdint.h>
#include "OpenGLGraphics.h"
#include "OpenGLTexture.h"
#define PNG_SKIP_SETJMP_CHECK
#define PNG_NO_PEDANTIC_WARNINGS
#include <png.h>
If this works, i can commit the change inmediatelly.
Original comment by javierma...@gmail.com
on 11 Nov 2011 at 1:34
Thanks for the report :)
Original comment by javierma...@gmail.com
on 11 Nov 2011 at 1:41
Thanks, it builds!
I got this now (at launch of "GameEngine" in Demo/Bin/Release, is that what I
should launch?):
GameEngine: brw_eu.h:187: brw_reg: Assertion `nr < 128' failed.
Abandon
Original comment by come.bernigaud@gmail.com
on 11 Nov 2011 at 2:19
Ok, this is a classical problem with shaders, i have to make something to fix
this, its an error compiling shaders on low-end cards (most of them Intel).
You can surely fix it by searching for IgnoreShaderSupport in
Resouces/Scripts/GameGUI.cfg and settign it to 0.
System = "GameGUI"
Class = "Render"
Name = "Render"
Data
{
IgnoreShaderSupport=0
PrecompileShaders=0
}
Sorry :(
Original comment by javierma...@gmail.com
on 11 Nov 2011 at 2:35
Sorry i mean, changing it to 1
System = "GameGUI"
Class = "Render"
Name = "Render"
Data
{
IgnoreShaderSupport=1
PrecompileShaders=0
}
Original comment by javierma...@gmail.com
on 11 Nov 2011 at 2:35
Yeah, it works, thanks
Original comment by come.bernigaud@gmail.com
on 11 Nov 2011 at 1:54
This issue was closed by revision r669.
Original comment by javierma...@gmail.com
on 11 Nov 2011 at 3:02
Original issue reported on code.google.com by
come.bernigaud@gmail.com
on 11 Nov 2011 at 1:06