OSDN Git Service

[Qt][OpenGL][4.5] NTSC SHADER: Adjust scale factor.
authorK.Ohta <whatisthis.sowhat@gmail.com>
Sun, 20 Oct 2019 18:48:16 +0000 (03:48 +0900)
committerK.Ohta <whatisthis.sowhat@gmail.com>
Sun, 20 Oct 2019 18:48:16 +0000 (03:48 +0900)
source/src/qt/gui/gl4_5/qt_glutil_gl4_5.cpp

index 34015ef..9734373 100644 (file)
@@ -383,8 +383,8 @@ void GLDraw_4_5::initLocalGLObjects(void)
        int _width = using_flags->get_screen_width();
        int _height = using_flags->get_screen_height();
        
        int _width = using_flags->get_screen_width();
        int _height = using_flags->get_screen_height();
        
-       if(((int)(_width * 3.5)) <= texture_max_size) {
-               _width = (int)(_width * 3.5);
+       if(((int)(_width * 3.0)) <= texture_max_size) {
+               _width = (int)(_width * 3.0);
                low_resolution_screen = true;
        } else {
                _width = _width * 2;
                low_resolution_screen = true;
        } else {
                _width = _width * 2;