Giter VIP home page Giter VIP logo

Comments (7)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 20, 2024
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 [email protected] on 11 Nov 2011 at 1:34

  • Changed state: Accepted

from friking-shark.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 20, 2024
Thanks for the report :)

Original comment by [email protected] on 11 Nov 2011 at 1:41

from friking-shark.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 20, 2024
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 [email protected] on 11 Nov 2011 at 2:19

from friking-shark.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 20, 2024
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 [email protected] on 11 Nov 2011 at 2:35

from friking-shark.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 20, 2024
Sorry i mean, changing it to 1 


    System = "GameGUI"
    Class = "Render"
    Name = "Render"
    Data
    {
        IgnoreShaderSupport=1
        PrecompileShaders=0
    }

Original comment by [email protected] on 11 Nov 2011 at 2:35

from friking-shark.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 20, 2024
Yeah, it works, thanks

Original comment by [email protected] on 11 Nov 2011 at 1:54

from friking-shark.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 20, 2024
This issue was closed by revision r669.

Original comment by [email protected] on 11 Nov 2011 at 3:02

  • Changed state: Fixed

from friking-shark.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.