mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2025-02-08 06:06:43 +01:00
commit Fajer's legacy, so it won't be forgotten
This commit is contained in:
parent
a4ec09d9cd
commit
499e884a62
1 changed files with 5 additions and 0 deletions
|
@ -158,6 +158,11 @@ SYMBOL_EXPORT void ScaleBitmap(ALLEGRO_BITMAP* source, int width, int height) {
|
|||
}
|
||||
|
||||
SYMBOL_EXPORT ALLEGRO_BITMAP* LoadScaledBitmap(struct Game* game, char* filename, int width, int height) {
|
||||
// CORRUPTS MEMORY FOR SOME REASON PLZ LOOK AT IT LATERRRR
|
||||
// PROBABYL GetDataFilePath and Gargabe collecting related
|
||||
// IT'S FUCKING HARD TO DEBUG SO DON'T STUMBLE ON IT AGAIN
|
||||
exit(1);
|
||||
|
||||
bool memoryscale = !strtol(GetConfigOptionDefault(game, "SuperDerpy", "GPU_scaling", "1"), NULL, 10);
|
||||
ALLEGRO_BITMAP *source, *target = al_create_bitmap(width, height);
|
||||
al_set_target_bitmap(target);
|
||||
|
|
Loading…
Reference in a new issue