summaryrefslogtreecommitdiff
path: root/bitmap_calls.cpp
diff options
context:
space:
mode:
authorFox Caminiti <fox@foxcam.net>2022-07-27 15:46:42 -0400
committerFox Caminiti <fox@foxcam.net>2022-07-27 15:46:42 -0400
commit313ca58550163380e072880b360bc6076d27c8e5 (patch)
tree899c945440a804711a33b34c5407ae8d789dc6c2 /bitmap_calls.cpp
parent83ce428d8bb5f4a762abf879adec076bc34cf36a (diff)
switched threading to SDL; works on windows now
Diffstat (limited to 'bitmap_calls.cpp')
-rw-r--r--bitmap_calls.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/bitmap_calls.cpp b/bitmap_calls.cpp
index 2cdb463..132aec5 100644
--- a/bitmap_calls.cpp
+++ b/bitmap_calls.cpp
@@ -177,10 +177,7 @@ BitmapPackRGB(pixel_buffer *Buffer) {
internal void
OutputToViewport(pixel_buffer *CompBuffer, project_state *State, GLuint textureID) {
- if (D)
- Convert4x4Chunk(CompBuffer, 1);
- else
- CopyToBuffer(CompBuffer, 0);
+ Convert4x4Chunk(CompBuffer, 1);
EndRenderState(State);
glBindTexture(GL_TEXTURE_2D, textureID);
glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, CompBuffer->Width, CompBuffer->Height, GL_RGBA, GL_UNSIGNED_BYTE,