zzogl-pg: Fix compiling with the build script.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2765 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
arcum42 2010-03-24 09:19:10 +00:00
parent adf43a86ab
commit b1e6094408
3 changed files with 4 additions and 0 deletions

View File

@ -37,6 +37,8 @@
<Add option="`pkg-config gtk+-2.0 --cflags`" /> <Add option="`pkg-config gtk+-2.0 --cflags`" />
<Add option="-m32" /> <Add option="-m32" />
<Add option="-I/opt/cg/include -L/opt/cg/lib" /> <Add option="-I/opt/cg/include -L/opt/cg/lib" />
<Add option="-msse2" />
<Add option="-fno-regmove" />
<Add directory="../../Linux" /> <Add directory="../../Linux" />
<Add directory="../../../opengl" /> <Add directory="../../../opengl" />
<Add directory="../../../../../common/include" /> <Add directory="../../../../../common/include" />

View File

@ -1,2 +1,3 @@
INCLUDES = -I@srcdir@/../../../../common/include -I@srcdir@/../common -I@srcdir@/../../../../3rdparty/
noinst_PROGRAMS = zgsbuild noinst_PROGRAMS = zgsbuild
zgsbuild_SOURCES = zpipe.cpp zerogsshaders.cpp zgsbuild_SOURCES = zpipe.cpp zerogsshaders.cpp

View File

@ -3,6 +3,7 @@
#include <Cg/cg.h> #include <Cg/cg.h>
#include <Cg/cgGL.h> #include <Cg/cgGL.h>
#include "PS2Edefs.h"
#define NUM_FILTERS 2 // texture filtering #define NUM_FILTERS 2 // texture filtering
#define NUM_TYPES 5 // types of texture read modes #define NUM_TYPES 5 // types of texture read modes