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