SFML / CSFML

Official binding of SFML for C

Home Page:https://www.sfml-dev.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Graphics/Transform.cpp:167:26: warning: comparison between two arrays

dcb314 opened this issue · comments

Recent gcc compiler can be made to say:

CSFML-2.5.1/src/SFML/Graphics/Transform.cpp:167:26: warning: comparison between two arrays [-Warray-compare]

Source code is

return (left->matrix == right->matrix) ? sfTrue : sfFalse;

That would only compare the first element of the matrices right ?