This website works better with JavaScript.
Home
Explore
Help
Sign In
Archivist
/
raylib-src
mirror of
https://github.com/raysan5/raylib
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
24
Wiki
Activity
Browse Source
Reworking log level as incremental.
pull/731/head
Marco Lizza
6 years ago
parent
3703430f57
commit
c1c801e5c3
3 changed files
with
22 additions
and
14 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+7
-4
src/raudio.c
+8
-6
src/raylib.h
+7
-4
src/rlgl.h
+ 7
- 4
src/raudio.c
View File
@ -171,11 +171,14 @@ typedef struct MusicData {
#
if defined(RAUDIO_STANDALONE)
typedef
enum
{
LOG_INFO
=
0
,
LOG_ERROR
,
LOG_WARNING
,
LOG_ALL
,
LOG_TRACE
,
LOG_DEBUG
,
LOG_OTHER
LOG_INFO
,
LOG_WARN
,
LOG_ERROR
,
LOG_FATAL
,
LOG_NONE
}
TraceLogType
;
#
endif
+ 8
- 6
src/raylib.h
View File
@ -421,13 +421,15 @@ typedef enum {
}
ConfigFlag
;
/
/
Trace
log
type
/
/
NOTE
:
Used
for
bit
masks
typedef
enum
{
LOG_INFO
=
1
,
LOG_WARNING
=
2
,
LOG_ERROR
=
4
,
LOG_DEBUG
=
8
,
LOG_OTHER
=
16
LOG_ALL
,
/
/
Display
all
logs
LOG_TRACE
,
LOG_DEBUG
,
LOG_INFO
,
LOG_WARNING
,
LOG_ERROR
,
LOG_FATAL
,
LOG_NONE
/
/
Disable
logging
}
TraceLogType
;
/
/
Keyboard
keys
+ 7
- 4
src/rlgl.h
View File
@ -253,11 +253,14 @@ typedef unsigned char byte;
/
/
TraceLog
message
types
typedef
enum
{
LOG_INFO
=
0
,
LOG_ERROR
,
LOG_WARNING
,
LOG_ALL
,
LOG_TRACE
,
LOG_DEBUG
,
LOG_OTHER
LOG_INFO
,
LOG_WARN
,
LOG_ERROR
,
LOG_FATAL
,
LOG_NONE
}
TraceLogType
;
/
/
Texture
formats
(
support
depends
on
OpenGL
version
)
Write
Preview
Loading…
Cancel
Save