mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-05-31 08:50:54 +00:00
Changed astyle-code.sh script to use the system astyle which is 2.03 on Kubuntu 13.10
This commit is contained in:
parent
4a124390a4
commit
a315630d7d
22 changed files with 6037 additions and 6034 deletions
|
@ -637,7 +637,7 @@ static bool R_ParseImageProgram_r( idLexer& src, byte** pic, int* width, int* he
|
|||
if( pic )
|
||||
{
|
||||
int c;
|
||||
c = *width * *height * 4;
|
||||
c = *width** height * 4;
|
||||
for( i = 0 ; i < c ; i += 4 )
|
||||
{
|
||||
( *pic )[i + 1] =
|
||||
|
@ -662,7 +662,7 @@ static bool R_ParseImageProgram_r( idLexer& src, byte** pic, int* width, int* he
|
|||
if( pic )
|
||||
{
|
||||
int c;
|
||||
c = *width * *height * 4;
|
||||
c = *width** height * 4;
|
||||
for( i = 0 ; i < c ; i += 4 )
|
||||
{
|
||||
( *pic )[i + 3] = ( ( *pic )[i + 0] + ( *pic )[i + 1] + ( *pic )[i + 2] ) / 3;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue