mirror of
https://github.com/sm64pc/sm64ex.git
synced 2025-01-22 15:43:04 -05:00
fix #514
This commit is contained in:
parent
578536ea31
commit
8000f6bb3d
1 changed files with 4 additions and 1 deletions
|
@ -146,10 +146,10 @@ static inline GLenum texenv_set_texture_color(struct ShaderProgram *prg) {
|
|||
|
||||
switch (prg->shader_id) {
|
||||
case 0x0000038D: // mario's eyes
|
||||
case 0x01045A00: // peach letter
|
||||
case 0x01200A00: // intro copyright fade in
|
||||
mode = GL_DECAL;
|
||||
break;
|
||||
case 0x01045A00: // peach letter, explosions
|
||||
case 0x00000551: // goddard
|
||||
mode = GL_BLEND;
|
||||
break;
|
||||
|
@ -264,6 +264,9 @@ static struct ShaderProgram *gfx_opengl_create_and_load_new_shader(uint32_t shad
|
|||
|
||||
struct ShaderProgram *prg = &shader_program_pool[shader_program_pool_size++];
|
||||
|
||||
printf("new shader 0x%08x\n", shader_id);
|
||||
fflush(stdout);
|
||||
|
||||
prg->shader_id = shader_id;
|
||||
prg->cc = ccf;
|
||||
prg->num_inputs = ccf.num_inputs;
|
||||
|
|
Loading…
Reference in a new issue