Added GL initializsation, added clear buffer and clear color options.

This commit is contained in:
Marvin Blum
2016-05-06 12:27:33 +02:00
parent 788399df73
commit c85c5dedb1
5 changed files with 106 additions and 7 deletions

7
tex.go
View File

@@ -7,9 +7,10 @@ import (
// Texture object.
type Tex struct {
name string
path string
ext string
name string
path string
ext string
id uint32
target uint32
activeTexture uint32