Novidia: make use of glTexImage1D or glTexSubImage1D configurable

This commit is contained in:
somewhatlurker
2020-07-24 22:51:09 +10:00
parent 0db7a2b09b
commit 9fb2c843a8
3 changed files with 36 additions and 37 deletions
@@ -24,7 +24,8 @@ bool checkBufferTargetOk(GLenum target)
int __stdcall stub() { return 1; }
/*
bool use_TexSubImage;
std::wstring ExePath() {
WCHAR buffer[MAX_PATH];
GetModuleFileNameW(NULL, buffer, MAX_PATH);
@@ -43,6 +44,5 @@ LPCWSTR CONFIG_FILE = CONFIG_FILE_STRING.c_str();
void loadConfig()
{
}
*/
use_TexSubImage = GetPrivateProfileIntW(L"general", L"use_TexSubImage", 1, CONFIG_FILE) > 0 ? true : false;
}