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
Make it run on motsugo
[ipdf/code.git]
/
src
/
screen.cpp
diff --git
a/src/screen.cpp
b/src/screen.cpp
index
7054fc7
..
e7d5d4b
100644
(file)
--- a/
src/screen.cpp
+++ b/
src/screen.cpp
@@
-52,17
+52,17
@@
Screen::Screen(bool visible)
// Why is this so horribly broken?
if (ogl_IsVersionGEQ(3,0))
{
// Why is this so horribly broken?
if (ogl_IsVersionGEQ(3,0))
{
-
Fatal
("We require OpenGL 3.1, but you have version %d.%d!",ogl_GetMajorVersion(), ogl_GetMinorVersion());
+
Error
("We require OpenGL 3.1, but you have version %d.%d!",ogl_GetMajorVersion(), ogl_GetMinorVersion());
}
if (!SDL_GL_ExtensionSupported("GL_ARB_shading_language_420pack"))
{
}
if (!SDL_GL_ExtensionSupported("GL_ARB_shading_language_420pack"))
{
-
Fatal
("Your system does not support the ARB_shading_language_420pack extension, which is required.");
+
Error
("Your system does not support the ARB_shading_language_420pack extension, which is required.");
}
if (!SDL_GL_ExtensionSupported("GL_ARB_explicit_attrib_location"))
{
}
if (!SDL_GL_ExtensionSupported("GL_ARB_explicit_attrib_location"))
{
-
Fatal
("Your system does not support the ARB_explicit_attrib_location extension, which is required.");
+
Error
("Your system does not support the ARB_explicit_attrib_location extension, which is required.");
}
m_frame_begin_time = SDL_GetPerformanceCounter();
}
m_frame_begin_time = SDL_GetPerformanceCounter();
UCC
git Repository :: git.ucc.asn.au