summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/haiku/swrast
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/haiku/swrast')
-rw-r--r--src/mesa/drivers/haiku/swrast/SoftwareRast.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/haiku/swrast/SoftwareRast.cpp b/src/mesa/drivers/haiku/swrast/SoftwareRast.cpp
index 095ca1f9d46..a4afbdca0c6 100644
--- a/src/mesa/drivers/haiku/swrast/SoftwareRast.cpp
+++ b/src/mesa/drivers/haiku/swrast/SoftwareRast.cpp
@@ -601,7 +601,7 @@ MesaSoftwareRast::_SetupRenderBuffer(struct gl_renderbuffer* rb,
break;
case B_RGB24:
rb->_BaseFormat = GL_RGB;
- rb->Format = MESA_FORMAT_RGB888;
+ rb->Format = MESA_FORMAT_BGR_UNORM8;
break;
case B_RGB16:
rb->_BaseFormat = GL_RGB;