()
| 1010 | |
| 1011 | |
| 1012 | protected void dispose() { |
| 1013 | if (glres != null) { |
| 1014 | glres.dispose(); |
| 1015 | glVertex = 0; |
| 1016 | glFragment = 0; |
| 1017 | glProgram = 0; |
| 1018 | glres = null; |
| 1019 | } |
| 1020 | } |
| 1021 | |
| 1022 | |
| 1023 | static protected int getShaderType(String[] source, int defaultType) { |