deactivate spell intro shader quicklier

This commit is contained in:
laochailan 2017-11-05 13:24:51 +01:00
parent 4542018264
commit 0e7c849d9b
No known key found for this signature in database
GPG key ID: 49BE98017AFBC943

View file

@ -116,7 +116,7 @@ static void apply_bg_shaders(ShaderRule *shaderrules, FBO **fbo0, FBO **fbo1) {
float ratio = (float)VIEWPORT_H/VIEWPORT_W;
glBindFramebuffer(GL_FRAMEBUFFER, (*fbo0)->fbo);
if(t<4*ATTACK_START_DELAY) {
if(t<ATTACK_START_DELAY) {
Shader *shader = get_shader("spellcard_intro");
glUseProgram(shader->prog);