Browse Source
gl_state: Remove unused Citra TextureUnits
pull/15/merge
ReinUsesLisp
6 years ago
No known key found for this signature in database
GPG Key ID: 2DFC508897B39CFE
1 changed files with
0 additions and
23 deletions
-
src/video_core/renderer_opengl/gl_state.h
|
|
|
@ -11,29 +11,6 @@ |
|
|
|
|
|
|
|
namespace OpenGL { |
|
|
|
|
|
|
|
namespace TextureUnits { |
|
|
|
|
|
|
|
struct TextureUnit { |
|
|
|
GLint id; |
|
|
|
constexpr GLenum Enum() const { |
|
|
|
return static_cast<GLenum>(GL_TEXTURE0 + id); |
|
|
|
} |
|
|
|
}; |
|
|
|
|
|
|
|
constexpr TextureUnit MaxwellTexture(int unit) { |
|
|
|
return TextureUnit{unit}; |
|
|
|
} |
|
|
|
|
|
|
|
constexpr TextureUnit LightingLUT{3}; |
|
|
|
constexpr TextureUnit FogLUT{4}; |
|
|
|
constexpr TextureUnit ProcTexNoiseLUT{5}; |
|
|
|
constexpr TextureUnit ProcTexColorMap{6}; |
|
|
|
constexpr TextureUnit ProcTexAlphaMap{7}; |
|
|
|
constexpr TextureUnit ProcTexLUT{8}; |
|
|
|
constexpr TextureUnit ProcTexDiffLUT{9}; |
|
|
|
|
|
|
|
} // namespace TextureUnits |
|
|
|
|
|
|
|
class OpenGLState { |
|
|
|
public: |
|
|
|
struct { |
|
|
|
|