mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-04-26 20:11:42 +00:00
revert drunken mode
This commit is contained in:
parent
5bffa59ed2
commit
84c04be167
2 changed files with 4 additions and 2 deletions
|
|
@ -147,7 +147,8 @@ void gfx_direct3d_common_build_shader(char buf[4096], size_t& len, size_t& num_f
|
|||
append_line(buf, &len, "struct PSInput {");
|
||||
append_line(buf, &len, " float4 position : SV_POSITION;");
|
||||
if (ccf.used_textures[0] || ccf.used_textures[1]) {
|
||||
append_line(buf, &len, " noperspective float2 uv : TEXCOORD;");
|
||||
if (!cc.cm.tex_persp) append_str(buf, &len, "noperspective");
|
||||
append_line(buf, &len, " float2 uv : TEXCOORD;");
|
||||
num_floats += 2;
|
||||
}
|
||||
if ((cc.cm.use_alpha && cc.cm.use_dither) || ccf.do_noise) {
|
||||
|
|
|
|||
|
|
@ -320,7 +320,8 @@ static struct ShaderProgram *gfx_opengl_create_and_load_new_shader(struct ColorC
|
|||
#endif
|
||||
|
||||
if (ccf.used_textures[0] || ccf.used_textures[1]) {
|
||||
append_line(fs_buf, &fs_len, "noperspective in vec2 vTexCoord;");
|
||||
if (!opt_tex_persp) append_str(fs_buf, &fs_len, "noperspective ");
|
||||
append_line(fs_buf, &fs_len, "in vec2 vTexCoord;");
|
||||
}
|
||||
if (opt_fog) {
|
||||
append_line(fs_buf, &fs_len, "in vec4 vFog;");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue