Rename another function...

This commit is contained in:
Ryan Houdek 2012-12-26 00:34:09 -06:00
parent c43a0dac2e
commit 9a58f9a3bb
13 changed files with 13 additions and 13 deletions

View File

@ -23,7 +23,7 @@
#include "../GLInterface.h"
#include "AGL.h"
void cInterfaceAGL::SwapBuffers()
void cInterfaceAGL::Swap()
{
[GLWin.cocoaCtx flushBuffer];
}

View File

@ -27,7 +27,7 @@
class cInterfaceAGL : public cInterfaceBase
{
public:
void SwapBuffers();
void Swap();
void UpdateFPSDisplay(const char *Text);
bool Create(void *&window_handle);
bool MakeCurrent();

View File

@ -218,7 +218,7 @@ void cInterfaceEGL::UpdateFPSDisplay(const char *text)
{
XStoreName(GLWin.x_dpy, GLWin.win, text);
}
void cInterfaceEGL::SwapBuffers()
void cInterfaceEGL::Swap()
{
eglSwapBuffers(GLWin.egl_dpy, GLWin.egl_surf);
}

View File

@ -33,7 +33,7 @@ private:
void DestroyXWindow();
void XEventThread();
public:
void SwapBuffers();
void Swap();
void UpdateFPSDisplay(const char *Text);
bool Create(void *&window_handle);
bool MakeCurrent();

View File

@ -218,7 +218,7 @@ void cInterfaceGLX::UpdateFPSDisplay(const char *text)
{
XStoreName(GLWin.dpy, GLWin.win, text);
}
void cInterfaceGLX::SwapBuffers()
void cInterfaceGLX::Swap()
{
glXSwapBuffers(GLWin.dpy, GLWin.win);
}

View File

@ -31,7 +31,7 @@ private:
void DestroyXWindow();
void XEventThread();
public:
void SwapBuffers();
void Swap();
void UpdateFPSDisplay(const char *Text);
bool Create(void *&window_handle);
bool MakeCurrent();

View File

@ -23,7 +23,7 @@ protected:
u32 s_backbuffer_width;
u32 s_backbuffer_height;
public:
virtual void SwapBuffers() = 0;
virtual void Swap() = 0;
virtual void UpdateFPSDisplay(const char *Text) = 0;
virtual bool Create(void *&window_handle) = 0;
virtual bool MakeCurrent() = 0;

View File

@ -27,7 +27,7 @@
static HDC hDC = NULL; // Private GDI Device Context
static HGLRC hRC = NULL; // Permanent Rendering Context
void cInterfaceWGL::SwapBuffers()
void cInterfaceWGL::Swap()
{
SwapBuffers(hDC);
}

View File

@ -28,7 +28,7 @@
class cInterfaceWGL : public cInterfaceBase
{
public:
void SwapBuffers();
void Swap();
void UpdateFPSDisplay(const char *Text);
bool Create(void *&window_handle);
bool MakeCurrent();

View File

@ -23,7 +23,7 @@
#include "../GLInterface.h"
#include "WX.h"
void cInterfaceWX::SwapBuffers()
void cInterfaceWX::Swap()
{
GLWin.glCanvas->SwapBuffers();
}

View File

@ -35,7 +35,7 @@
class cInterfaceWX : public cInterfaceBase
{
public:
void SwapBuffers();
void Swap();
void UpdateFPSDisplay(const char *Text);
bool Create(void *&window_handle);
bool MakeCurrent();

View File

@ -1354,7 +1354,7 @@ void Renderer::Swap(u32 xfbAddr, FieldType field, u32 fbWidth, u32 fbHeight,cons
GL_REPORT_ERRORD();
// Copy the rendered frame to the real window
GLInterface->SwapBuffers();
GLInterface->Swap();
GL_REPORT_ERRORD();

View File

@ -192,7 +192,7 @@ void SWRenderer::SwapBuffer()
glFlush();
GLInterface->SwapBuffers();
GLInterface->Swap();
swstats.ResetFrame();