internal/gl: remove redundant parentheses

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2021-03-11 19:04:34 +01:00
parent 9e79cee447
commit c4850e876d
+1 -1
View File
@@ -541,7 +541,7 @@ func (f *Functions) MapBufferRange(target Enum, offset, length int, access Enum)
if p == nil {
return nil
}
return (*([1 << 30]byte))(p)[:length:length]
return (*[1 << 30]byte)(p)[:length:length]
}
func (f *Functions) Scissor(x, y, width, height int32) {