diff options
author | kdx <kikoodx@paranoici.org> | 2023-07-13 10:03:17 +0200 |
---|---|---|
committer | kdx <kikoodx@paranoici.org> | 2023-07-13 10:03:17 +0200 |
commit | e37f59d1fccbe143825f7c5518c7b37407ff2088 (patch) | |
tree | d0ed1b0fb5ad038e17e98dc517213a0d423c6625 | |
parent | a7669bddf242aafc2bc5c7f5f573b6765e52561c (diff) | |
download | fld-e37f59d1fccbe143825f7c5518c7b37407ff2088.tar.gz |
drawSetColor cringe
-rw-r--r-- | src/drawSetColor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drawSetColor.cpp b/src/drawSetColor.cpp index 07fb7d1..eb14f13 100644 --- a/src/drawSetColor.cpp +++ b/src/drawSetColor.cpp @@ -12,7 +12,7 @@ FLD::drawSetColor(float r, float g, float b, float a) static_cast<Uint8>(_drawColor.r * 0xff), static_cast<Uint8>(_drawColor.g * 0xff), static_cast<Uint8>(_drawColor.b * 0xff), - static_cast<Uint8>(_drawColor.a * 0xff) < 0)) + static_cast<Uint8>(_drawColor.a * 0xff)) < 0) sdlError(); return 0; } |