mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-30 08:00:51 +00:00
Whitespace...
This commit is contained in:
parent
e6e920747c
commit
6ab0175cfc
1 changed files with 10 additions and 7 deletions
|
@ -43,6 +43,7 @@ static const char rcsid[] =
|
||||||
|
|
||||||
#include "r_local.h"
|
#include "r_local.h"
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
Mod_CalcFullbright (byte *in, byte *out, int pixels)
|
Mod_CalcFullbright (byte *in, byte *out, int pixels)
|
||||||
{
|
{
|
||||||
|
@ -61,18 +62,20 @@ Mod_CalcFullbright (byte *in, byte *out, int pixels)
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
Mod_Fullbright (byte * skin, int width, int height, char *name)
|
Mod_Fullbright (byte *skin, int width, int height, char *name)
|
||||||
{
|
{
|
||||||
|
byte *ptexels;
|
||||||
int pixels;
|
int pixels;
|
||||||
int texnum = 0;
|
int texnum = 0;
|
||||||
byte *ptexels;
|
|
||||||
|
|
||||||
// Check for fullbright pixels..
|
// Check for fullbright pixels
|
||||||
|
|
||||||
pixels = width * height;
|
pixels = width * height;
|
||||||
|
|
||||||
// ptexels = Hunk_Alloc(s);
|
// ptexels = Hunk_Alloc(s);
|
||||||
ptexels = malloc (pixels);
|
ptexels = malloc (pixels);
|
||||||
SYS_CHECKMEM (ptexels);
|
SYS_CHECKMEM (ptexels);
|
||||||
|
|
||||||
if (Mod_CalcFullbright (skin, ptexels, pixels)) {
|
if (Mod_CalcFullbright (skin, ptexels, pixels)) {
|
||||||
Sys_DPrintf ("FB Model ID: '%s'\n", name);
|
Sys_DPrintf ("FB Model ID: '%s'\n", name);
|
||||||
texnum = GL_LoadTexture (name, width, height, ptexels, true, true, 1);
|
texnum = GL_LoadTexture (name, width, height, ptexels, true, true, 1);
|
||||||
|
|
Loading…
Reference in a new issue