X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgui%2Fglwidget.cpp;h=65ccd57982ccd7f7ea42d6658333c67e0e17fb5d;hb=34c2f4526d11f2139130c4c94920dd7b1c7a6124;hp=2501ad8296a1d100c9bd3a2815718ef675edc878;hpb=742efd9b7deca399ca92f1c548e97836d626c86a;p=virtualjaguar diff --git a/src/gui/glwidget.cpp b/src/gui/glwidget.cpp index 2501ad8..65ccd57 100644 --- a/src/gui/glwidget.cpp +++ b/src/gui/glwidget.cpp @@ -117,6 +117,15 @@ printf("Resizing: new raster width/height = %i x %i\n", rasterWidth, rasterHeigh } buffer = new uint32_t[textureWidth * textureHeight]; +#warning "!!! Remove all backbuffer stuff, since it's unneeded !!!" +/* +We do this here just as a quick 'n' dirty shortcut. We don't need a backbuffer, +as OpenGL takes care of all that crap for us. This means we also have to fix the +Jaguar core, giving it a setup function for setting things like the video buffer, +etc. +*/ + backbuffer = buffer; + //??? memset(buffer, 0x00, textureWidth * textureHeight * sizeof(uint32_t)); glGenTextures(1, &texture);