OpenGL wrap overhaul
This commit is contained in:
@@ -53,11 +53,6 @@ HOOK(int32_t, FASTCALL, data_init, 0x0000000140192FF0) {
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef USE_STUB
|
||||
wrap_addresses(true);
|
||||
#else
|
||||
wrap_addresses();
|
||||
#endif
|
||||
|
||||
sprite_shared_init();
|
||||
|
||||
@@ -326,8 +321,6 @@ static HGLRC FASTCALL glut_create_context(int64_t a1, int64_t a2, int64_t a3, in
|
||||
extern size_t glut_handle;
|
||||
HDC& XHDC = *(HDC*)(glut_handle + 0x55F20);
|
||||
|
||||
wrap_addresses();
|
||||
|
||||
if (true/*a5*/) {
|
||||
typedef HGLRC(GLAPIENTRY* PFNWGLCREATECONTEXTGLUTPROC)(HDC hDc);
|
||||
|
||||
|
||||
+2571
-1817
File diff suppressed because it is too large
Load Diff
+2344
-2228
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user