From b4a9538e1d4034ea98eef5acf70a61076581aa0d Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Wed, 26 Feb 2020 12:06:47 +0900 Subject: [PATCH] graphicsdriver/opengl/gl: Remove a misspelled unused const --- internal/graphicsdriver/opengl/gl/package.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/graphicsdriver/opengl/gl/package.go b/internal/graphicsdriver/opengl/gl/package.go index 5fd5480ef..42e067015 100644 --- a/internal/graphicsdriver/opengl/gl/package.go +++ b/internal/graphicsdriver/opengl/gl/package.go @@ -15,7 +15,7 @@ package gl const ( - VERTEX_SHADEDR = 0x8B31 + VERTEX_SHADER = 0x8B31 FRAGMENT_SHADER = 0x8B30 ARRAY_BUFFER = 0x8892 ELEMENT_ARRAY_BUFFER = 0x8893 @@ -58,7 +58,6 @@ const ( UNPACK_ALIGNMENT = 0x0CF5 UNSIGNED_BYTE = 0x1401 UNSIGNED_SHORT = 0x1403 - VERTEX_SHADER = 0x8B31 WRITE_ONLY = 0x88B9 )