mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
- fixed: Voxel setup code wasn't called anymore.
This commit is contained in:
parent
49c49b2672
commit
5bd32cf769
3 changed files with 3 additions and 3 deletions
|
@ -1057,6 +1057,7 @@ void polymostSet2dView(void); // sets up GL for 2D drawing
|
|||
void polymost_glreset(void);
|
||||
void polymost_precache(int32_t dapicnum, int32_t dapalnum, int32_t datype);
|
||||
void PrecacheHardwareTextures(int nTile);
|
||||
void Polymost_Startup();
|
||||
|
||||
typedef uint16_t polytintflags_t;
|
||||
|
||||
|
|
|
@ -5242,7 +5242,7 @@ static void PolymostProcessVoxels(void)
|
|||
g_haveVoxels = 2;
|
||||
|
||||
OSD_Printf("Generating voxel models for Polymost. This may take a while...\n");
|
||||
videoNextPage();
|
||||
//videoNextPage();
|
||||
|
||||
for (bssize_t i = 0; i < MAXVOXELS; i++)
|
||||
{
|
||||
|
@ -5257,7 +5257,6 @@ static void PolymostProcessVoxels(void)
|
|||
|
||||
void Polymost_Startup()
|
||||
{
|
||||
polymost_glreset();
|
||||
polymost_glinit();
|
||||
PolymostProcessVoxels();
|
||||
}
|
||||
|
|
|
@ -617,7 +617,7 @@ void V_Init2()
|
|||
C_NewModeAdjust();
|
||||
videoSetGameMode(vid_fullscreen, SCREENWIDTH, SCREENHEIGHT, 32, 1);
|
||||
|
||||
polymost_glinit();
|
||||
Polymost_Startup();
|
||||
GLInterface.Init(SCREENHEIGHT);
|
||||
GLInterface.InitGLState(4, 4/*glmultisample*/);
|
||||
GLInterface.mSamplers->SetTextureFilterMode(hw_texfilter, hw_anisotropy);
|
||||
|
|
Loading…
Reference in a new issue