renderer: handle RGB16F uploads properly

missing case for alignment 6, 2 case is correct.

this fixes a bunch of RGB16F fails.
macos/master
Dave Airlie 9 years ago
parent 74c2612250
commit 97043059ba
  1. 1
      src/vrend_renderer.c

@ -4575,6 +4575,7 @@ static int vrend_renderer_transfer_write_iov(struct vrend_context *ctx,
glPixelStorei(GL_UNPACK_ALIGNMENT, 1); glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
break; break;
case 2: case 2:
case 6:
glPixelStorei(GL_UNPACK_ALIGNMENT, 2); glPixelStorei(GL_UNPACK_ALIGNMENT, 2);
break; break;
case 4: case 4:

Loading…
Cancel
Save