Fix bitmasking for logging
This commit is contained in:
parent
25ea53bfbb
commit
67b7cdfc1f
2 changed files with 7 additions and 7 deletions
|
@ -1191,7 +1191,7 @@ func newRenderTexture2DFromPointer(ptr unsafe.Pointer) RenderTexture2D {
|
|||
|
||||
// Log message types
|
||||
const (
|
||||
LogAll = iota
|
||||
LogAll = 1 << iota
|
||||
LogTrace
|
||||
LogDebug
|
||||
LogInfo
|
||||
|
@ -1201,4 +1201,4 @@ const (
|
|||
LogNone
|
||||
)
|
||||
|
||||
var logTypeFlags = LogInfo | LogWarning | LogError
|
||||
var logTypeFlags byte = LogInfo | LogWarning | LogError
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue