Fix optimized compile warnings. Remove unused GLee remains.
parent
8919334d9b
commit
0fc0eeeb86
|
@ -1303,7 +1303,7 @@ void WzConfig::setVector3f(const QString &name, const Vector3f &v)
|
|||
|
||||
Vector3f WzConfig::vector3f(const QString &name)
|
||||
{
|
||||
Vector3f r;
|
||||
Vector3f r(0.0, 0.0, 0.0);
|
||||
ASSERT_OR_RETURN(r, contains(name), "Missing %s", name.toUtf8().constData());
|
||||
QStringList v = value(name).toStringList();
|
||||
ASSERT(v.size() == 3, "Bad list of %s", name.toUtf8().constData());
|
||||
|
@ -1324,7 +1324,7 @@ void WzConfig::setVector3i(const QString &name, const Vector3i &v)
|
|||
|
||||
Vector3i WzConfig::vector3i(const QString &name)
|
||||
{
|
||||
Vector3i r;
|
||||
Vector3i r(0, 0, 0);
|
||||
ASSERT_OR_RETURN(r, contains(name), "Missing %s", name.toUtf8().constData());
|
||||
QStringList v = value(name).toStringList();
|
||||
ASSERT(v.size() == 3, "Bad list of %s", name.toUtf8().constData());
|
||||
|
@ -1344,7 +1344,7 @@ void WzConfig::setVector2i(const QString &name, const Vector2i &v)
|
|||
|
||||
Vector2i WzConfig::vector2i(const QString &name)
|
||||
{
|
||||
Vector2i r;
|
||||
Vector2i r(0, 0);
|
||||
ASSERT_OR_RETURN(r, contains(name), "Missing %s", name.toUtf8().constData());
|
||||
QStringList v = value(name).toStringList();
|
||||
ASSERT(v.size() == 2, "Bad list of %s", name.toUtf8().constData());
|
||||
|
|
|
@ -29,9 +29,6 @@
|
|||
* The water is drawn using the hardcoded page-80 and page-81 textures.
|
||||
*/
|
||||
|
||||
#ifdef CursorShape
|
||||
#undef CursorShape // Random #defines are bad.
|
||||
#endif
|
||||
#include <string.h>
|
||||
|
||||
#include "lib/framework/frame.h"
|
||||
|
|
|
@ -23,9 +23,6 @@
|
|||
* This is where we do texture atlas generation.
|
||||
*/
|
||||
|
||||
#ifdef CursorShape
|
||||
#undef CursorShape // Random #defines are bad.
|
||||
#endif
|
||||
#include "lib/framework/frame.h"
|
||||
#include "lib/framework/opengl.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue