Browse Source

Warning/Error fix: added int return type to nvgIsBlack

shared-context
Doug Binks 11 years ago
parent
commit
d16b4df7fd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/nanovg.c

+ 1
- 1
src/nanovg.c View File

@@ -346,7 +346,7 @@ struct NVGcolor nvgHSLA(float h, float s, float l, unsigned char a)
return col;
}

nvgIsBlack( struct NVGcolor col )
int nvgIsBlack( struct NVGcolor col )
{
if( col.r == 0.0f && col.g == 0.0f && col.b == 0.0f && col.a == 0.0f )
{


Loading…
Cancel
Save