mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-16 22:20:01 +01:00
ref_soft: blit: restore height for bpp 16 and 32
This commit is contained in:
parent
609235b4f1
commit
26b8a1fe1d
@ -661,7 +661,7 @@ void R_BlitScreen( void )
|
||||
if( swblit.bpp == 2 )
|
||||
{
|
||||
unsigned short *pbuf = buffer;
|
||||
for( v = 0; v < 10;v++)
|
||||
for( v = 0; v < vid.height;v++)
|
||||
{
|
||||
uint start = vid.rowbytes * v;
|
||||
uint d = swblit.stride - v - 1;
|
||||
@ -694,7 +694,7 @@ void R_BlitScreen( void )
|
||||
else if( swblit.bpp == 3 )
|
||||
{
|
||||
byte *pbuf = buffer;
|
||||
for( v = 0; v < 10;v++)
|
||||
for( v = 0; v < vid.height;v++)
|
||||
{
|
||||
uint start = vid.rowbytes * v;
|
||||
uint d = swblit.stride - v - 1;
|
||||
@ -717,7 +717,7 @@ void R_BlitScreen( void )
|
||||
if( swblit.bpp == 2 )
|
||||
{
|
||||
unsigned short *pbuf = buffer;
|
||||
for( v = 0; v < 10;v++)
|
||||
for( v = 0; v < vid.height;v++)
|
||||
{
|
||||
uint start = vid.rowbytes * v;
|
||||
uint dstart = swblit.stride * v;
|
||||
@ -748,7 +748,7 @@ void R_BlitScreen( void )
|
||||
else if( swblit.bpp == 3 )
|
||||
{
|
||||
byte *pbuf = buffer;
|
||||
for( v = 0; v < 10;v++)
|
||||
for( v = 0; v < vid.height;v++)
|
||||
{
|
||||
uint start = vid.rowbytes * v;
|
||||
uint dstart = swblit.stride * v;
|
||||
|
Loading…
Reference in New Issue
Block a user