Minor code cleanup

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2017-01-02 01:21:22 -04:00
parent 548293e100
commit bdd51d547f
4 changed files with 28 additions and 58 deletions
+6
View File
@@ -29,6 +29,7 @@
#include <string>
#include <map>
#include <vector>
#include <stddef.h>
namespace love
{
@@ -150,6 +151,11 @@ public:
**/
virtual bool hasUniform(const std::string &name) const = 0;
/**
* Sets the textures used when rendering a video. For internal use only.
**/
virtual void setVideoTextures(ptrdiff_t ytexture, ptrdiff_t cbtexture, ptrdiff_t crtexture) = 0;
static bool getConstant(const char *in, ShaderStage &out);
static bool getConstant(ShaderStage in, const char *&out);