X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgui%2Fglwidget.cpp;h=e32dde3682aa65c4b6d842e6d960313803e669ae;hb=e6b7d61963423b7f9cb4c6c24d2befca50328d4f;hp=d4a65ec59568986c4555ad9cbe767bbbba9692ef;hpb=5e11cea96160bd958c1b271940bf97ecfa257b15;p=virtualjaguar diff --git a/src/gui/glwidget.cpp b/src/gui/glwidget.cpp index d4a65ec..e32dde3 100644 --- a/src/gui/glwidget.cpp +++ b/src/gui/glwidget.cpp @@ -16,8 +16,7 @@ #include "settings.h" GLWidget::GLWidget(QWidget * parent/*= 0*/): QGLWidget(parent), texture(0), - textureWidth(0), textureHeight(0), buffer(0), rasterWidth(64), rasterHeight(64) -// textureWidth(0), textureHeight(0), buffer(0), rasterWidth(256), rasterHeight(256) + textureWidth(0), textureHeight(0), buffer(0), rasterWidth(320), rasterHeight(240) { } @@ -42,6 +41,9 @@ void GLWidget::initializeGL() void GLWidget::paintGL() { +//kludge +rasterHeight = (vjs.hardwareTypeNTSC ? 240 : 256); + unsigned outputWidth = width(); unsigned outputHeight = height();