[core] Autogenerate Shader name

This commit is contained in:
Bruno de Oliveira Abinader
2016-06-18 15:32:49 +03:00
parent 760a692378
commit 76fc07c606
17 changed files with 42 additions and 60 deletions

View File

@@ -3,12 +3,11 @@
#include <mbgl/shader/circle.fragment.hpp>
#include <mbgl/gl/gl.hpp>
#include <cstdio>
using namespace mbgl;
using namespace shaders::circle;
CircleShader::CircleShader(gl::ObjectStore& store)
: Shader("circle", shaders::circle::vertex, shaders::circle::fragment, store) {
: Shader(::name, ::vertex, ::fragment, store) {
}
void CircleShader::bind(GLbyte* offset) {