Does anyone have an example for loading ".dds" textures? I don't think i'm getting my pixel data ByteBuffer populated properly.
when calling:
ARBTextureCompression.glCompressedTexImage2DARB(
GL11.GL_TEXTURE_2D,0,
NVTextureCompressionVTC.COMPRESSED_RGBA_S3TC_DXT1_EXT,
width,height,0,size,pixelBuffer);
I get:
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x4207C5FC
Function=memcpy+0x1C
Library=/lib/tls/libc.so.6
Thanks.
Lynn