mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-08 04:08:32 +09:00
[Fix] (MG_Test|MG_Bench): Fix compilation.
This commit is contained in:
@@ -18,7 +18,7 @@ using namespace MobileGL::MG_Impl::GLImpl;
|
||||
|
||||
class ProgramTest : public ::testing::Test {
|
||||
protected:
|
||||
void SetUp() override { MobileGL::MG_Initialize(); }
|
||||
void SetUp() override { MobileGL::Initialize(); }
|
||||
|
||||
void TearDown() override {}
|
||||
};
|
||||
@@ -54,7 +54,7 @@ void main(){
|
||||
// Use TestMat2 and TestMat3 to prevent optimization
|
||||
vec2 dummy2 = TestMat2[0];
|
||||
vec3 dummy3 = TestMat3[0];
|
||||
|
||||
|
||||
oneTexel = (1.0 * (fIn1 * fIn2 * fIn3 * fIn4 * fIn5 * fIn6 * fIn0)) / InSize;
|
||||
|
||||
texCoord = Position.xy / OutSize;
|
||||
|
||||
Reference in New Issue
Block a user