aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/renderer_opengl/gl_state.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-01-09 17:42:27 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-01-30 19:10:35 -0300
commit220df45b7dfc3654fe0fb4cb6b6eb65c1bfce8e3 (patch)
tree81fa5880e3bd243754922788de2503ae8b738143 /src/video_core/renderer_opengl/gl_state.h
parent704744bb72972f99fa992e286b3de5967b48af37 (diff)
gl_state: Remove texture target tracking
Diffstat (limited to 'src/video_core/renderer_opengl/gl_state.h')
-rw-r--r--src/video_core/renderer_opengl/gl_state.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.h b/src/video_core/renderer_opengl/gl_state.h
index ced602bf6..9e1eda5b1 100644
--- a/src/video_core/renderer_opengl/gl_state.h
+++ b/src/video_core/renderer_opengl/gl_state.h
@@ -126,7 +126,6 @@ public:
struct TextureUnit {
GLuint texture; // GL_TEXTURE_BINDING_2D
GLuint sampler; // GL_SAMPLER_BINDING
- GLenum target;
void Unbind() {
texture = 0;
@@ -135,7 +134,6 @@ public:
void Reset() {
Unbind();
sampler = 0;
- target = GL_TEXTURE_2D;
}
};
std::array<TextureUnit, Tegra::Engines::Maxwell3D::Regs::NumTextureSamplers> texture_units;