git.ucc.asn.au
/
ipdf
/
code.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Go nuts with Qt
[ipdf/code.git]
/
src
/
screen.cpp
diff --git
a/src/screen.cpp
b/src/screen.cpp
index
223f4a3
..
a32b1e2
100644
(file)
--- a/
src/screen.cpp
+++ b/
src/screen.cpp
@@
-93,9
+93,12
@@
Screen::Screen()
m_debug_font_atlas = 0;
m_no_quit_requested = true;
m_debug_font_atlas = 0;
m_no_quit_requested = true;
+ m_show_debug_font = true;
m_view = NULL;
ResizeViewport(800, 600);
m_view = NULL;
ResizeViewport(800, 600);
+
+
Clear();
Present();
Clear();
Present();
@@
-454,7
+457,7
@@
struct fontvertex
void Screen::DebugFontPrint(const char* str)
{
void Screen::DebugFontPrint(const char* str)
{
- if (!m_debug_font_atlas) return;
+ if (!m_debug_font_atlas
|| !m_show_debug_font
) return;
glPushDebugGroup(GL_DEBUG_SOURCE_APPLICATION, 41, -1, "Screen::DebugFontPrint()");
glPushDebugGroup(GL_DEBUG_SOURCE_APPLICATION, 41, -1, "Screen::DebugFontPrint()");
UCC
git Repository :: git.ucc.asn.au