mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 17:01:03 +00:00
- moved the hires texture replacement logic into a backend callback.
This way it can be handled transparently to the calling code. Fonts do not work yet, though.
This commit is contained in:
parent
8c241afc40
commit
ed599d0f05
12 changed files with 85 additions and 94 deletions
|
@ -30,7 +30,7 @@ struct SystemCallbacks
|
|||
void (*MenuClosed)();
|
||||
bool (*CheckMenudefOption)(const char* opt);
|
||||
void (*ConsoleToggled)(int state);
|
||||
bool (*PreBindTexture)(FRenderState* state, FGameTexture*& tex, EUpscaleFlags& flags, int& clampmode, int& translation, int& overrideshader);
|
||||
bool (*PreBindTexture)(FRenderState* state, FGameTexture*& tex, EUpscaleFlags& flags, int& scaleflags, int& clampmode, int& translation, int& overrideshader);
|
||||
};
|
||||
|
||||
extern SystemCallbacks sysCallbacks;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue