mirror of https://github.com/PCSX2/pcsx2.git
zzogl-pg: Fix Windows again.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3247 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
fd28ec1012
commit
6db8dd3bd7
|
@ -24,18 +24,22 @@
|
|||
|
||||
#include <windows.h>
|
||||
#include <windowsx.h>
|
||||
#include <GL/gl.h>
|
||||
#include <GL/glext.h>
|
||||
#include "glprocs.h"
|
||||
|
||||
extern HWND GShwnd;
|
||||
|
||||
#else // linux basic definitions
|
||||
|
||||
#include <GL/glew.h>
|
||||
#include <GL/gl.h>
|
||||
#include <GL/glext.h>
|
||||
#include <GL/glx.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#define GSdefs
|
||||
#include "PS2Edefs.h"
|
||||
#include "CRC.h"
|
||||
|
|
|
@ -587,7 +587,7 @@ bool ZeroGS::Create(int _width, int _height)
|
|||
|
||||
PBITMAPINFO pinfo = (PBITMAPINFO)LockResource(hBitmapGlob);
|
||||
|
||||
GLEnum tempFmt = (pinfo->bmiHeader.biBitCount == 32) ? GL_RGBA : GL_RGB;
|
||||
GLenum tempFmt = (pinfo->bmiHeader.biBitCount == 32) ? GL_RGBA : GL_RGB;
|
||||
TextureRect(4, pinfo->bmiHeader.biWidth, pinfo->bmiHeader.biHeight, tempFmt, GL_UNSIGNED_BYTE, (u8*)pinfo + pinfo->bmiHeader.biSize);
|
||||
|
||||
nLogoWidth = pinfo->bmiHeader.biWidth;
|
||||
|
|
Loading…
Reference in New Issue