diff --git a/scgl/ext/cGDriver_Snapshot.cpp b/scgl/ext/cGDriver_Snapshot.cpp index 2406015..e1eb051 100644 --- a/scgl/ext/cGDriver_Snapshot.cpp +++ b/scgl/ext/cGDriver_Snapshot.cpp @@ -83,6 +83,10 @@ namespace nSCGL buffer->Unlock(cIGZBuffer::eLockFlags::IsDirtyUpdate); } +#ifndef NDEBUG + glPixelStorei(GL_PACK_ALIGNMENT, 4); +#endif + delete[] colorBytes; return buffer; }