gdi text loading should be loading the right functions Oops
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
This commit is contained in:
parent
5a660bfe90
commit
80e3d25147
1 changed files with 2 additions and 2 deletions
|
|
@ -248,11 +248,11 @@ int MwFL_GDISetup(void) {
|
||||||
if(!gdilib) {
|
if(!gdilib) {
|
||||||
printf("gdi32.dll not found(?????)\n");
|
printf("gdi32.dll not found(?????)\n");
|
||||||
} else {
|
} else {
|
||||||
_AddFontMemResourceEx = (void*)GetProcAddress(gdilib, "_AddFontMemResourceEx");
|
_AddFontMemResourceEx = (void*)GetProcAddress(gdilib, "AddFontMemResourceEx");
|
||||||
if(!_AddFontMemResourceEx) {
|
if(!_AddFontMemResourceEx) {
|
||||||
_AddFontMemResourceEx = _AddFontMemResourceExPolyFill;
|
_AddFontMemResourceEx = _AddFontMemResourceExPolyFill;
|
||||||
}
|
}
|
||||||
_RemoveFontMemResourceEx = (void*)GetProcAddress(gdilib, "_RemoveFontMemResourceEx");
|
_RemoveFontMemResourceEx = (void*)GetProcAddress(gdilib, "RemoveFontMemResourceEx");
|
||||||
if(!_RemoveFontMemResourceEx) {
|
if(!_RemoveFontMemResourceEx) {
|
||||||
_RemoveFontMemResourceEx = _RemoveFontMemResourceExPolyFill;
|
_RemoveFontMemResourceEx = _RemoveFontMemResourceExPolyFill;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue