This website works better with JavaScript.
Home
Explore
Help
Sign In
opengl
/
glBitmap
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
* fixed bug: buffer overflow when exporting TGA files
master
Bergmann89
11 years ago
parent
40c2e1a730
commit
669392448a
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
glBitmap.pas
+ 1
- 1
glBitmap.pas
View File
@@ -4630,7 +4630,7 @@ var
begin
PixelSize := fPixelSize;
for Idx :=
0
to Height * Width do begin
for Idx :=
1
to Height * Width do begin
Temp := pByteArray(pTemp)^[2];
pByteArray(pTemp)^[2] := pByteArray(pTemp)^[0];
pByteArray(pTemp)^[0] := Temp;
Write
Preview
Loading…
Cancel
Save