Revert "Project modernization (#630)"
This code was not tested and breaks in Release builds, reverting to restore
functionality of the nightly. All in-game menus do not work and generating
a world crashes.
This reverts commit a9be52c41a.
This commit is contained in:
@@ -182,7 +182,7 @@ void ConsoleUIController::render()
|
||||
throttle++;
|
||||
|
||||
#else
|
||||
gdraw_orbis_End(nullptr);
|
||||
gdraw_orbis_End(NULL);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -252,7 +252,7 @@ GDrawTexture *ConsoleUIController::getSubstitutionTexture(int textureId)
|
||||
GDrawTexture *gdrawTex = gdraw_orbis_WrappedTextureCreate(tex);
|
||||
return gdrawTex;
|
||||
|
||||
return nullptr;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void ConsoleUIController::destroySubstitutionTexture(void *destroyCallBackData, GDrawTexture *handle)
|
||||
|
||||
Reference in New Issue
Block a user