[shader] Shaders vertex and fragments are now GLchar*

This commit is contained in:
Bruno de Oliveira Abinader
2015-09-10 15:16:19 +03:00
committed by Konstantin Käfer
parent 7943b1b71c
commit 1f1b3fbbc2
3 changed files with 18 additions and 15 deletions

View File

@@ -34,11 +34,13 @@ def write_header():
#ifndef MBGL_SHADER_SHADERS
#define MBGL_SHADER_SHADERS
#include <mbgl/platform/gl.hpp>
namespace mbgl {
struct shader_source {
const char *vertex;
const char *fragment;
const GLchar *vertex;
const GLchar *fragment;
};
enum {