OSDN Git Service
(root)
/
csp-qt
/
common_source_project-fm7.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e3df44
)
[Qt][OpenGL] .
author
K.Ohta
<whatisthis.sowhat@gmail.com>
Thu, 14 Jun 2018 18:52:22 +0000
(
03:52
+0900)
committer
K.Ohta
<whatisthis.sowhat@gmail.com>
Thu, 14 Jun 2018 18:52:22 +0000
(
03:52
+0900)
source/src/qt/gui/gl2/qt_glutil_gl2_0.cpp
patch
|
blob
|
history
diff --git
a/source/src/qt/gui/gl2/qt_glutil_gl2_0.cpp
b/source/src/qt/gui/gl2/qt_glutil_gl2_0.cpp
index
cc046f5
..
84d9409
100644
(file)
--- a/
source/src/qt/gui/gl2/qt_glutil_gl2_0.cpp
+++ b/
source/src/qt/gui/gl2/qt_glutil_gl2_0.cpp
@@
-1275,6
+1275,9
@@
void GLDraw_2_0::do_set_texture_size(QImage *p, int w, int h)
void GLDraw_2_0::do_set_horiz_lines(int lines)
{
+ if(lines > using_flags->get_real_screen_height()) {
+ lines = using_flags->get_real_screen_height();
+ }
this->doSetGridsHorizonal(lines, false);
}