summaryrefslogtreecommitdiffhomepage
path: root/src/rlgl.h
diff options
context:
space:
mode:
authorRay <[email protected]>2016-06-07 23:44:53 +0200
committerRay <[email protected]>2016-06-07 23:44:53 +0200
commitee795150fa21f239533d4c9ffadf56366c89a8ca (patch)
tree2879d0b48e5a125bd3f204382225111c1d4de2e9 /src/rlgl.h
parent5631f822bd9195d494915d3b2bb80caf47a65068 (diff)
downloadraylib-ee795150fa21f239533d4c9ffadf56366c89a8ca.tar.gz
raylib-ee795150fa21f239533d4c9ffadf56366c89a8ca.zip
Updated some code
Diffstat (limited to 'src/rlgl.h')
-rw-r--r--src/rlgl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rlgl.h b/src/rlgl.h
index 2a578a1f..9c25f710 100644
--- a/src/rlgl.h
+++ b/src/rlgl.h
@@ -230,6 +230,9 @@ typedef enum { OPENGL_11 = 1, OPENGL_33, OPENGL_ES_20 } GlVersion;
// Color blending modes (pre-defined)
typedef enum { BLEND_ALPHA = 0, BLEND_ADDITIVE, BLEND_MULTIPLIED } BlendMode;
+
+ // TraceLog message types
+ typedef enum { INFO = 0, ERROR, WARNING, DEBUG, OTHER } TraceLogType;
#endif
#ifdef __cplusplus
@@ -339,6 +342,8 @@ void EndBlendMode(void); // End blend
Light CreateLight(int type, Vector3 position, Color diffuse); // Create a new light, initialize it and add to pool
void DestroyLight(Light light); // Destroy a light and take it out of the list
+
+void TraceLog(int msgType, const char *text, ...);
#endif
#ifdef __cplusplus