#ifndef MSP_GL_SHADER_H_
#define MSP_GL_SHADER_H_
+#include <msp/core/attributes.h>
#include <string>
#include "gl.h"
void source(const char *str, int len);
void compile();
unsigned get_id() const { return id; }
+ unsigned steal_id();
bool is_compiled() const { return compiled; }
std::string get_info_log() const;
-};
+} DEPRECATED;
class VertexShader: public Shader