TINYGL: Attempt to fix compilation

This commit is contained in:
Paweł Kołodziejski 2021-12-05 23:00:15 +01:00
parent 9f7a903b10
commit 8ed00821ac
No known key found for this signature in database
GPG Key ID: 0BDADC9E74440FF7

View File

@ -122,12 +122,10 @@ public:
return _zbuf;
}
private:
FORCEINLINE void readPixelRGB(int pixel, byte &r, byte &g, byte &b) {
pbuf.getRGBAt(pixel, r, g, b);
}
public:
FORCEINLINE bool compareDepth(unsigned int &zSrc, unsigned int &zDst) {
if (!_depthTestEnabled)
return true;