diff --git a/plugins/zzogl-pg/opengl/Util.h b/plugins/zzogl-pg/opengl/Util.h index c3f7f0ef4e..279883e1e9 100644 --- a/plugins/zzogl-pg/opengl/Util.h +++ b/plugins/zzogl-pg/opengl/Util.h @@ -24,18 +24,22 @@ #include #include +#include +#include +#include "glprocs.h" extern HWND GShwnd; #else // linux basic definitions -#include #include +#include #include #include #endif + #define GSdefs #include "PS2Edefs.h" #include "CRC.h" diff --git a/plugins/zzogl-pg/opengl/ZZoglCreate.cpp b/plugins/zzogl-pg/opengl/ZZoglCreate.cpp index 1af467ffc1..19ebc0cd32 100644 --- a/plugins/zzogl-pg/opengl/ZZoglCreate.cpp +++ b/plugins/zzogl-pg/opengl/ZZoglCreate.cpp @@ -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;