OGRECave / ogre

scene-oriented, flexible 3D engine (C++, Python, C#, Java)
https://ogrecave.github.io/ogre/
MIT License
3.85k stars 959 forks source link

fix mismatch operand type for operator == #3065

Closed niu2x closed 4 months ago

niu2x commented 4 months ago

variable format 's type is PixelFormat, it shouldn't compared to GL_NONE.

it is mismatched.

i change it to GLformat

paroj commented 4 months ago

thanks!