mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-04-08 18:41:30 -06:00
rename all the non-standard include file extensions to *.h
This commit is contained in:
parent
6a24d2bbac
commit
4981c576d2
@ -6,7 +6,7 @@ void InitProcTable()
|
||||
#ifdef _WIN32
|
||||
#define OPENGL_PROC(p, n) OPENGL_PROC2(p, n, gl##n)
|
||||
#define OPENGL_PROC2(p, n, tn) /*if(!gl##n)*/ if(!(gl##n = (p)wglGetProcAddress(#tn))) ConLog.Error("OpenGL: initialization of " #tn " failed.")
|
||||
#include "GLProcTable.tbl"
|
||||
#include "GLProcTable.h"
|
||||
#undef OPENGL_PROC
|
||||
#undef OPENGL_PROC2
|
||||
#endif
|
||||
@ -19,7 +19,7 @@ void InitProcTable()
|
||||
#ifdef _WIN32
|
||||
#define OPENGL_PROC(p, n) p gl##n = nullptr
|
||||
#define OPENGL_PROC2(p, n, tn) OPENGL_PROC(p, n)
|
||||
#include "GLProcTable.tbl"
|
||||
#include "GLProcTable.h"
|
||||
#undef OPENGL_PROC
|
||||
#undef OPENGL_PROC2
|
||||
#endif
|
||||
@ -40,7 +40,7 @@ void OpenGL::Init()
|
||||
#ifdef _WIN32
|
||||
#define OPENGL_PROC(p, n) OPENGL_PROC2(p, n, gl##n)
|
||||
#define OPENGL_PROC2(p, n, tn) if(!(n = (p)wglGetProcAddress(#tn))) ConLog.Error("OpenGL: initialization of " #tn " failed.")
|
||||
#include "GLProcTable.tbl"
|
||||
#include "GLProcTable.h"
|
||||
#undef OPENGL_PROC
|
||||
#undef OPENGL_PROC2
|
||||
#endif
|
||||
@ -51,7 +51,7 @@ void OpenGL::Close()
|
||||
#ifdef _WIN32
|
||||
#define OPENGL_PROC(p, n) n = nullptr
|
||||
#define OPENGL_PROC2(p, n, tn) OPENGL_PROC(p, n)
|
||||
#include "GLProcTable.tbl"
|
||||
#include "GLProcTable.h"
|
||||
#undef OPENGL_PROC
|
||||
#undef OPENGL_PROC2
|
||||
#endif
|
||||
|
||||
@ -10,7 +10,7 @@ typedef BOOL (WINAPI* PFNWGLSWAPINTERVALEXTPROC) (int interval);
|
||||
|
||||
#define OPENGL_PROC(p, n) extern p gl##n
|
||||
#define OPENGL_PROC2(p, n, tn) OPENGL_PROC(p, n)
|
||||
#include "GLProcTable.tbl"
|
||||
#include "GLProcTable.h"
|
||||
#undef OPENGL_PROC
|
||||
#undef OPENGL_PROC2
|
||||
|
||||
@ -25,7 +25,7 @@ struct OpenGL
|
||||
{
|
||||
#define OPENGL_PROC2(p, n, tn) OPENGL_PROC(p, n)
|
||||
#define OPENGL_PROC(p, n) p n
|
||||
#include "GLProcTable.tbl"
|
||||
#include "GLProcTable.h"
|
||||
#undef OPENGL_PROC
|
||||
#undef OPENGL_PROC2
|
||||
|
||||
|
||||
@ -293,7 +293,7 @@ public:
|
||||
u64 getMappedAddress(u64 realAddress);
|
||||
};
|
||||
|
||||
#include "DynamicMemoryBlockBase.inl"
|
||||
#include "DynamicMemoryBlockBase.h"
|
||||
|
||||
typedef DynamicMemoryBlockBase<MemoryBlock> DynamicMemoryBlock;
|
||||
typedef DynamicMemoryBlockBase<MemoryBlockLE> DynamicMemoryBlockLE;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user