mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-07 19:58:32 +09:00
[Chore] (MG_Test/Program): test if PreLink only passes
This commit is contained in:
@@ -59,7 +59,7 @@ namespace MobileGL {
|
||||
THROW_EXCEPTION(e);
|
||||
}
|
||||
|
||||
PostLink();
|
||||
// PostLink();
|
||||
}
|
||||
|
||||
void ProgramObject::MarkAsDeleted() {
|
||||
|
||||
@@ -109,10 +109,10 @@ TEST_F(ProgramTest, CompileAndLink) {
|
||||
GLuint program = CreateProgram();
|
||||
AttachShader(program, vs);
|
||||
AttachShader(program, fs);
|
||||
return;
|
||||
printf("Linking program...\n");
|
||||
LinkProgram(program);
|
||||
printf("Program linked...\n");
|
||||
return;
|
||||
|
||||
EXPECT_EQ(GetUniformLocation(program, "ProjMat"), 0);
|
||||
EXPECT_EQ(GetUniformLocation(program, "Gray"), 1);
|
||||
|
||||
Reference in New Issue
Block a user