summaryrefslogtreecommitdiff
path: root/include/shader.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/shader.h')
-rw-r--r--include/shader.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/shader.h b/include/shader.h
index b502137..cca8ab9 100644
--- a/include/shader.h
+++ b/include/shader.h
@@ -20,7 +20,7 @@ typedef int honey_shader;
*
* @return The result of the shader load.
*/
-honey_error honey_shader_load(honey_shader* shader,
+honey_result honey_shader_load(honey_shader* shader,
char* vertex_shader_path,
char* fragment_shader_path);
@@ -32,7 +32,7 @@ honey_error honey_shader_load(honey_shader* shader,
*
* @return The result of the shader creation.
*/
-honey_error honey_shader_new(honey_shader* shader,
+honey_result honey_shader_new(honey_shader* shader,
char* vertex_shader_code,
char* fragment_shader_code);