mirror of https://git.code.sf.net/p/quake/newtree
cd_linux.c:
fix silly #include booboo (Thanks, Scottie Shore) gl_sky_clip.c: bring in brighness the right way
This commit is contained in:
parent
dd37b164e6
commit
d143410ecd
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#ifdef HAVE_UNISTD_H
|
#ifdef HAVE_UNISTD_H
|
||||||
#include "unistd.h"
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_STRING_H
|
#ifdef HAVE_STRING_H
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
|
@ -41,6 +41,7 @@
|
||||||
#include "console.h"
|
#include "console.h"
|
||||||
#include "glquake.h"
|
#include "glquake.h"
|
||||||
#include "sys.h"
|
#include "sys.h"
|
||||||
|
#include "view.h"
|
||||||
|
|
||||||
extern qboolean skyloaded;
|
extern qboolean skyloaded;
|
||||||
extern vec5_t skyvec[6][4];
|
extern vec5_t skyvec[6][4];
|
||||||
|
@ -653,7 +654,6 @@ R_DrawSkyDomePoly (glpoly_t *poly)
|
||||||
void
|
void
|
||||||
R_DrawSkyChain (msurface_t *sky_chain)
|
R_DrawSkyChain (msurface_t *sky_chain)
|
||||||
{
|
{
|
||||||
extern cvar_t *brightness;
|
|
||||||
msurface_t *sc = sky_chain;
|
msurface_t *sc = sky_chain;
|
||||||
float l = 1 / (256 * brightness->value);
|
float l = 1 / (256 * brightness->value);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue