Skip to content

Commit

Permalink
Rename half_float to half_float_oes
Browse files Browse the repository at this point in the history
  • Loading branch information
dy committed May 15, 2018
1 parent 1487bd6 commit 127e0a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/util/pool.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var GL_UNSIGNED_SHORT = 5123
var GL_INT = 5124
var GL_UNSIGNED_INT = 5125
var GL_FLOAT = 5126
var GL_HALF_FLOAT = 36193
var GL_HALF_FLOAT_OES = 36193

function nextPow16 (v) {
for (var i = 16; i <= (1 << 28); i *= 16) {
Expand Down Expand Up @@ -62,7 +62,7 @@ function createPool () {
result = new Int16Array(alloc(2 * n), 0, n)
break
case GL_UNSIGNED_SHORT:
case GL_HALF_FLOAT:
case GL_HALF_FLOAT_OES:
result = new Uint16Array(alloc(2 * n), 0, n)
break
case GL_INT:
Expand Down

0 comments on commit 127e0a0

Please sign in to comment.