[Chore] (MG_Test/Program): test if PreLink only passes

This commit is contained in:
2025-08-14 17:41:50 +08:00
parent a39a46c7e3
commit 0cba505ad0
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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);