From 029f983440be6fc6458149972d5992cc3cf0b898 Mon Sep 17 00:00:00 2001 From: faiface Date: Thu, 1 Dec 2016 16:09:56 +0100 Subject: [PATCH] remove Bool type --- pixelgl/attr.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pixelgl/attr.go b/pixelgl/attr.go index 77a6df7..16128bc 100644 --- a/pixelgl/attr.go +++ b/pixelgl/attr.go @@ -29,8 +29,7 @@ type AttrType int // List of all possible attribute types. const ( - Bool AttrType = iota - Int + Int AttrType = iota Float Vec2 Vec3 @@ -49,7 +48,6 @@ const ( // Size returns the size of a type in bytes. func (at AttrType) Size() int { sizeOf := map[AttrType]int{ - Bool: 1, Int: 4, Float: 8, Vec2: 2 * 8,