mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-05 05:42:18 +00:00
Fixed a shader related crash that occured if the following conditions were met:
- BBGE_BUILD_SHADERS defined - Blur enabled in config - Entering a "warplocalnode"-Node while taking damage These conditions caused it to enable shader related code while taking the screenshot for the warp transition, that caused a crash because the shader- related gl*() function pointers were not initialzed, because the current code never loads any shaders.
This commit is contained in:
parent
7ff0caaed8
commit
99375127e1
2 changed files with 113 additions and 81 deletions
|
@ -47,4 +47,8 @@ protected:
|
|||
int mode;
|
||||
float vx, vy, vz, vw;
|
||||
bool loaded;
|
||||
|
||||
static void staticInit();
|
||||
static bool _wasInited;
|
||||
static bool _useShaders;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue