2
0
mirror of synced 2025-02-23 14:58:12 +00:00
Hajime Hoshi c1fbaaac1c x/mobile/gl: Fix arguments passed to glBufferData from BufferInit
Before this CL, BufferInit always causes INVALID_ENUM error because
0 (a2) is always passed to 'usage' argument of glBufferData.

This CL fixes removes a2, shifts a3 to a2, and adds parg as null
pointer explicitly.

Fixes golang/go#14403

Change-Id: I11109c983316f5975a79f42dc51d7a180e222b91
Reviewed-on: https://go-review.googlesource.com/19703
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2016-02-20 03:02:31 +00:00
..
2015-12-15 16:29:01 +00:00
2015-09-23 23:46:16 +00:00
2015-12-14 14:29:55 +00:00
2015-12-14 14:29:55 +00:00
2015-09-24 01:48:26 +00:00
2015-12-14 14:29:55 +00:00
2015-12-14 15:28:16 +00:00