Advertisement
BloodknightStudios

Torque3d (pngwrite.c issue)

Jul 31st, 2016
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.19 KB | None | 0 0
  1. // Potential fix for random pngwrite.c crashes
  2. GLvoid* GFXGLPrimitiveBuffer::getBuffer()
  3. {
  4.     // NULL specifies no offset into the hardware buffer
  5.    return (GLvoid*)(dsize_t)mBufferOffset;
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement