hiteshsuthar / rokon

Automatically exported from code.google.com/p/rokon
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Indirect/Direct buffer Bug #37

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Please provide any additional information below.

I saw that you implemented the "indirect buffer in 1.5 and direct buffer
otherwise" thingy in r89.

if(Build.VERSION.SDK_INT == 3)
    vertexBuffer = ByteBuffer.allocate(8*4);
else
    vertexBuffer = ByteBuffer.allocateDirect(8*4);

Though you're gonna have change

Build.VERSION.SDK_INT == 3
to
Build.VERSION.SDK == "3"

since "SDK_INT" doesn't exist in 1.5.

Original issue reported on code.google.com by anton.he...@gmail.com on 2 Jan 2010 at 2:27

GoogleCodeExporter commented 8 years ago
Will do, my mistake :)

Original comment by rtaylor205@gmail.com on 2 Jan 2010 at 4:31

GoogleCodeExporter commented 8 years ago
Fixed in r103

Original comment by rtaylor205@gmail.com on 2 Jan 2010 at 9:00