// Potential fix for random pngwrite.c crashes GLvoid* GFXGLPrimitiveBuffer::getBuffer() { // NULL specifies no offset into the hardware buffer return (GLvoid*)(dsize_t)mBufferOffset; }