Center the display on top of the checkerboard.
This commit is contained in:
parent
4021acd3f8
commit
0ad5bcf1df
3 changed files with 10 additions and 3 deletions
|
@ -147,7 +147,7 @@ BOOL CGEDebugger::DlgProc(UINT message, WPARAM wParam, LPARAM lParam) {
|
|||
|
||||
if (bufferResult) {
|
||||
if (buffer.GetFormat() == GE_FORMAT_8888) {
|
||||
frameWindow->Draw(buffer.GetData(), buffer.GetStride(), buffer.GetHeight(), SimpleGLWindow::RESIZE_SHRINK_FIT);
|
||||
frameWindow->Draw(buffer.GetData(), buffer.GetStride(), buffer.GetHeight(), SimpleGLWindow::RESIZE_SHRINK_CENTER);
|
||||
} else {
|
||||
ERROR_LOG(COMMON, "Non-8888 buffers not yet supported.");
|
||||
frameWindow->Clear();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue