Original Post
Say you wanted to use your own compression. Reasons don't matter. Would it be possible to use the decompressed bitmap contents directly from memory as a texture rather than decompressing it, saving it to a filename and loading it from there? say x = 'entire contents of bitmap'; instead of auxDIBImageLoad(filename); I'm just asking if it's possible. If it's already in memory it'll be faster to load, rather than copying it back to the hard disc then having it resubmitted back to memory.