1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-10 09:32:29 +01:00

Fix indentation

This commit is contained in:
Alexander Overvoorde
2016-07-22 22:58:52 +02:00
parent afd83fa13d
commit f8f996dfd6
2 changed files with 153 additions and 151 deletions

View File

@@ -935,26 +935,28 @@ void OpenGLDrawingContext::FlushLines() {
}
void OpenGLDrawingContext::FlushImages() {
for (const auto& command : _commandBuffers.images) {
// DEBUG: disabled until new array based texture cache is finished
/*for (const auto& command : _commandBuffers.images) {
_drawImageShader->Use();
_drawImageShader->SetClip(command.clip[0], command.clip[1], command.clip[2], command.clip[3]);
_drawImageShader->SetTexture(command.texColour);
_drawImageShader->SetFlags(command.flags);
_drawImageShader->SetColour(command.colour);
_drawImageShader->Draw(command.bounds[0], command.bounds[1], command.bounds[2], command.bounds[3]);
}
}*/
_commandBuffers.images.clear();
}
void OpenGLDrawingContext::FlushMaskedImages() {
for (const auto& command : _commandBuffers.maskedImages) {
// DEBUG: disabled until new array based texture cache is finished
/*for (const auto& command : _commandBuffers.maskedImages) {
_drawImageMaskedShader->Use();
_drawImageMaskedShader->SetClip(command.clip[0], command.clip[1], command.clip[2], command.clip[3]);
_drawImageMaskedShader->SetTextureMask(command.texMask);
_drawImageMaskedShader->SetTextureColour(command.texColour);
_drawImageMaskedShader->Draw(command.bounds[0], command.bounds[1], command.bounds[2], command.bounds[3]);
}
}*/
_commandBuffers.maskedImages.clear();
}