AbstractTexture: Move Bind() method to Renderer
This makes state tracking simpler, and enables easier porting to command lists later on.
This commit is contained in:
1 parent
fca56d532a
commit
38e0b6e2ab
23 files changed
+70
-90
No files matched your search
@@ -122,7 +122,6 @@ void OpenGLPostProcessing::BlitFromTexture(TargetRectangle src, TargetRectangle
|
||||
glBindTexture(GL_TEXTURE_2D_ARRAY, src_texture);
|
||||
g_sampler_cache->BindLinearSampler(9);
|
||||
glDrawArrays(GL_TRIANGLE_STRIP, 0, 4);
|
||||
OGLTexture::SetStage();
|
||||
}
|
||||
|
||||
void OpenGLPostProcessing::ApplyShader()
|
||||
|
||||
Reference in new issue
Block a user