Skip to content
Commit 74c2598c authored by Adam Bodnar's avatar Adam Bodnar
Browse files

Fix pointer arithmetic for ByteBuffers with non-zero positions

When initializing a gpu resource from a Java ByteBuffer with a non-zero
position, most functions aren't releasing the correct pointer and
subsequently crash the app.

Bug: 67109954
Test: build, flash, atest android.opengl.cts.ByteBufferTest

Change-Id: Id0910efd8c5ed6e00ea10eab89e77d97fe642d2b
parent 68a510ac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment