Skip to content

Commit

Permalink
Fix broken output on the debug window
Browse files Browse the repository at this point in the history
  • Loading branch information
nsgomez committed Oct 21, 2024
1 parent 6ec0e58 commit 7a728b3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scgl/ext/cGDriver_Snapshot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ namespace nSCGL
buffer->Unlock(cIGZBuffer::eLockFlags::IsDirtyUpdate);
}

#ifndef NDEBUG
glPixelStorei(GL_PACK_ALIGNMENT, 4);
#endif

delete[] colorBytes;
return buffer;
}
Expand Down

0 comments on commit 7a728b3

Please sign in to comment.