diff options
Diffstat (limited to 'src/gallium/targets/haiku-softpipe/SoftwareRenderer.cpp')
-rw-r--r-- | src/gallium/targets/haiku-softpipe/SoftwareRenderer.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gallium/targets/haiku-softpipe/SoftwareRenderer.cpp b/src/gallium/targets/haiku-softpipe/SoftwareRenderer.cpp index fa71dd764e0..9d85b8d03e2 100644 --- a/src/gallium/targets/haiku-softpipe/SoftwareRenderer.cpp +++ b/src/gallium/targets/haiku-softpipe/SoftwareRenderer.cpp @@ -326,7 +326,8 @@ SoftwareRenderer::DirectConnected(direct_buffer_info *info) void SoftwareRenderer::FrameResized(float width, float height) { -// CALLED(); + TRACE("%s: %f x %f\n", __func__, width, height); + BAutolock lock(fInfoLocker); fNewWidth = (GLuint)width; fNewHeight = (GLuint)height; @@ -354,6 +355,11 @@ SoftwareRenderer::_AllocateBitmap() return; } + TRACE("%s: New bitmap size: %d x %d\n", __func__, + fBitmap->Bounds().IntegerWidth(), fBitmap->Bounds().IntegerHeight()); + + fContextObj->ResizeViewport(fWidth, fHeight); + #if 0 // debug.. void *data = fBitmap->Bits(); |