mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 08:54:15 +00:00
Fix some library globals (#1692)
Co-authored-by: jonschz <jonschz@users.noreply.github.com>
This commit is contained in:
@@ -88,8 +88,7 @@ inline Result RendererCreateDevice(
|
||||
|
||||
if (Succeeded(result)) {
|
||||
if (rCreateData.m_pBackBuffer) {
|
||||
// LEGO1 0x10101040
|
||||
// GLOBAL: BETA10 0x102055f4
|
||||
// annotated below
|
||||
static int g_setBufferCount = 1;
|
||||
if (g_setBufferCount) {
|
||||
Result result2 = ResultVal(rpDevice->SetBufferCount(2));
|
||||
@@ -101,6 +100,10 @@ inline Result RendererCreateDevice(
|
||||
return result;
|
||||
}
|
||||
|
||||
// GLOBAL: LEGO1 0x10101040
|
||||
// GLOBAL: BETA10 0x102055f4
|
||||
// ?g_setBufferCount@?3??RendererCreateDevice@@YA?AW4Result@Tgl@@PAUIDirect3DRM2@@ABUDeviceDirectDrawCreateData@3@AAPAUIDirect3DRMDevice2@@@Z@4HA
|
||||
|
||||
// FUNCTION: BETA10 0x1016cf40
|
||||
inline Result RendererImpl::CreateDevice(const DeviceDirectDrawCreateData& rCreateData, DeviceImpl& rDevice)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user