Skip to content

Commit 9af6460

Browse files
fix exception message
1 parent 33d2547 commit 9af6460

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

androidgpulib/src/main/java/com/lib/androidgpulib/AndroidGPU.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ private void checkAndBuild(String glsl) throws Exception {
7575

7676
private void checkVersion(String glsl) throws Exception {
7777
if (!glsl.startsWith(GLSL_VERSION)) {
78-
throw new Exception("GLSL version not specified or invalid. Must be " + GLSL_VERSION);
78+
throw new Exception("GLSL version not specified or invalid. First line must be " + GLSL_VERSION);
7979
}
8080
}
8181

0 commit comments

Comments
 (0)