Cleaned up some shader code internals

This commit is contained in:
Alex Szpakowski
2013-04-06 14:14:11 -03:00
parent cfe6014b68
commit 1c720afaf8
2 changed files with 31 additions and 11 deletions
+10 -3
View File
@@ -21,14 +21,18 @@
#ifndef LOVE_GRAPHICS_SHADER_H
#define LOVE_GRAPHICS_SHADER_H
// LOVE
#include "common/Object.h"
#include <string>
#include <map>
#include <vector>
#include "common/StringMap.h"
#include "OpenGL.h"
#include "Image.h"
#include "Canvas.h"
// STL
#include <string>
#include <map>
#include <vector>
namespace love
{
namespace graphics
@@ -156,6 +160,9 @@ private:
// Counts total number of textures bound to each texture unit in all shaders
static std::vector<int> textureCounters;
static StringMap<ShaderType, TYPE_MAX_ENUM>::Entry typeNameEntries[];
static StringMap<ShaderType, TYPE_MAX_ENUM> typeNames;
};
} // opengl