mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-04 19:20:43 +00:00
- texture code restructuring.
This commit is contained in:
parent
cdcb25bc1f
commit
423f758314
14 changed files with 80 additions and 45 deletions
|
@ -47,6 +47,7 @@
|
|||
#include "v_2ddrawer.h"
|
||||
#include "build.h"
|
||||
#include "../glbackend/glbackend.h"
|
||||
#include "hw_material.h"
|
||||
/*
|
||||
#include "hwrenderer/scene/hw_portal.h"
|
||||
#include "hwrenderer/utility/hw_clock.h"
|
||||
|
@ -378,6 +379,11 @@ void DFrameBuffer::FPSLimit()
|
|||
#endif
|
||||
}
|
||||
|
||||
FMaterial* DFrameBuffer::CreateMaterial(FGameTexture* tex, int scaleflags)
|
||||
{
|
||||
return new FMaterial(tex, scaleflags);
|
||||
}
|
||||
|
||||
void DFrameBuffer::BeginScene()
|
||||
{
|
||||
if (videoGetRenderMode() < REND_POLYMOST) return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue