Pls go away
This commit is contained in:
@@ -1,28 +0,0 @@
|
|||||||
#ifndef UTIL_H
|
|
||||||
#define UTIL_H
|
|
||||||
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
#define ZERO_MEM(a) memset(a, 0, sizeof(a))
|
|
||||||
|
|
||||||
#define ARRAY_SIZE_IN_ELEMENTS(a) (sizeof(a)/sizeof(a[0]))
|
|
||||||
|
|
||||||
#define INVALID_OGL_VALUE 0xFFFFFFFF
|
|
||||||
|
|
||||||
#define SAFE_DELETE(p) if (p) { delete p; p = NULL; }
|
|
||||||
|
|
||||||
#define GLExitIfError() \
|
|
||||||
{ \
|
|
||||||
GLenum Error = glGetError(); \
|
|
||||||
\
|
|
||||||
if (Error != GL_NO_ERROR) { \
|
|
||||||
printf("OpenGL error in %s:%d: 0x%x\n", __FILE__, __LINE__, Error); \
|
|
||||||
exit(0); \
|
|
||||||
} \
|
|
||||||
}
|
|
||||||
|
|
||||||
#define GLCheckError() (glGetError() == GL_NO_ERROR)
|
|
||||||
|
|
||||||
#endif /* UTIL_H */
|
|
||||||
@@ -195,7 +195,6 @@
|
|||||||
<ClInclude Include="..\..\src\Systems\TankSteeringSystem.h" />
|
<ClInclude Include="..\..\src\Systems\TankSteeringSystem.h" />
|
||||||
<ClInclude Include="..\..\src\Systems\TransformSystem.h" />
|
<ClInclude Include="..\..\src\Systems\TransformSystem.h" />
|
||||||
<ClInclude Include="..\..\src\Texture.h" />
|
<ClInclude Include="..\..\src\Texture.h" />
|
||||||
<ClInclude Include="..\..\src\Util\defferedUtil.h" />
|
|
||||||
<ClInclude Include="..\..\src\Util\GLError.h" />
|
<ClInclude Include="..\..\src\Util\GLError.h" />
|
||||||
<ClInclude Include="..\..\src\Util\Rectangle.h" />
|
<ClInclude Include="..\..\src\Util\Rectangle.h" />
|
||||||
<ClInclude Include="..\..\src\Util\Logging.h" />
|
<ClInclude Include="..\..\src\Util\Logging.h" />
|
||||||
|
|||||||
@@ -352,7 +352,6 @@
|
|||||||
<ClInclude Include="..\..\src\Events\BindGamepadButton.h">
|
<ClInclude Include="..\..\src\Events\BindGamepadButton.h">
|
||||||
<Filter>Input\Events</Filter>
|
<Filter>Input\Events</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\src\Util\defferedUtil.h" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="..\..\src\Shaders\Fragment2.glsl">
|
<None Include="..\..\src\Shaders\Fragment2.glsl">
|
||||||
|
|||||||
Reference in New Issue
Block a user