Skip to content

Commit

Permalink
tests: ability to exclude all GL stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
aras-p committed Apr 13, 2013
1 parent ab96570 commit 1de50f0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/hlsl2glsltest/hlsl2glsltest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
#include <time.h>
#include <assert.h>

#define USE_REAL_OPENGL_TO_CHECK 1

const bool kDumpShaderAST = false;
static const bool kDumpShaderAST = false;


#ifdef _MSC_VER
Expand Down Expand Up @@ -173,6 +174,10 @@ static AGLContext s_GLContext;

static bool InitializeOpenGL ()
{
#if !USE_REAL_OPENGL_TO_CHECK
return false;
#endif

bool hasGLSL = false;

#ifdef _MSC_VER
Expand Down

0 comments on commit 1de50f0

Please sign in to comment.