Permalink
Browse files

glide: Rename some glitch source files for clarity.

main.h -> glitchmain.h
glState.cpp -> OGLESwrappers.h
  • Loading branch information...
littleguy77 committed Jan 7, 2015
1 parent 6c2cc67 commit 12af19b41a6694e12f16ee6b87ecf88f43eab1d1
@@ -27,7 +27,7 @@
#include <math.h>
#include <stdio.h>
#include "glide.h"
#include "main.h"
#include "glitchmain.h"
#include "../Glide64/winlnxdefs.h"
#include "../Glide64/rdp.h" // for settings
@@ -24,7 +24,7 @@
#include <windows.h>
#endif // _WIN32
#include "glide.h"
#include "main.h"
#include "glitchmain.h"
#include "../Glide64/winlnxdefs.h"
#include "../Glide64/rdp.h"
@@ -36,7 +36,7 @@
#include <math.h>
#include "glide.h"
#include "g3ext.h"
#include "main.h"
#include "glitchmain.h"
#include "m64p.h"
#define OPENGL_CHECK_ERRORS { const GLenum errcode = glGetError(); if (errcode != GL_NO_ERROR) LOG("OpenGL Error code %i in '%s' line %i\n", errcode, __FILE__, __LINE__-1); }
@@ -24,7 +24,7 @@
#include <stdlib.h>
#endif // _WIN32
#include "glide.h"
#include "main.h"
#include "glitchmain.h"
#include <stdio.h>
/* Napalm extensions to GrTextureFormat_t */
@@ -27,7 +27,7 @@
#include <math.h>
#include <stdio.h>
#include "glide.h"
#include "main.h"
#include "glitchmain.h"
static int fct[4], source0[4], operand0[4], source1[4], operand1[4], source2[4], operand2[4];
static int fcta[4],sourcea0[4],operanda0[4],sourcea1[4],operanda1[4],sourcea2[4],operanda2[4];
@@ -23,7 +23,7 @@
#include <windows.h>
#endif // _WIN32
#include "glide.h"
#include "main.h"
#include "glitchmain.h"
#include "../Glide64/winlnxdefs.h"
#include "../Glide64/rdp.h"
@@ -36,7 +36,7 @@
#include <math.h>
#include "glide.h"
#include "g3ext.h"
#include "main.h"
#include "glitchmain.h"
#include "m64p.h"
#ifdef VPDEBUG
@@ -24,7 +24,7 @@
#include <stdlib.h>
#endif // _WIN32
#include "glide.h"
#include "main.h"
#include "glitchmain.h"
#include <stdio.h>
/* Napalm extensions to GrTextureFormat_t */
@@ -116,6 +116,7 @@ extern "C" {
#error SDL is not build with OpenGL ES2 support. Try USE_GLES=0
#endif
#include <SDL_opengles2.h>
#include "OGLESwrappers.h"
#else
#ifndef SDL_VIDEO_OPENGL
#error SDL is not build with OpenGL support. Try USE_GLES=1
@@ -124,7 +125,6 @@ extern "C" {
#endif
#endif // _WIN32
#include "glide.h"
#include "glState.cpp"
void display_warning(const unsigned char *text, ...);
void display_warning(const char *text, ...);

0 comments on commit 12af19b

Please sign in to comment.