- safety commit. To finalize we need a better vertex buffer interface.
This commit is contained in:
parent
3940f17980
commit
cead0194bd
9 changed files with 129 additions and 126 deletions
|
|
@ -48,6 +48,7 @@
|
|||
#include "vm.h"
|
||||
#include "r_videoscale.h"
|
||||
#include "i_time.h"
|
||||
#include "hwrenderer/scene/hw_portal.h"
|
||||
|
||||
|
||||
CVAR(Bool, gl_scale_viewport, true, CVAR_ARCHIVE);
|
||||
|
|
@ -172,6 +173,12 @@ DSimpleCanvas::~DSimpleCanvas ()
|
|||
DFrameBuffer::DFrameBuffer (int width, int height)
|
||||
{
|
||||
SetSize(width, height);
|
||||
mPortalState = new FPortalSceneState;
|
||||
}
|
||||
|
||||
DFrameBuffer::~DFrameBuffer()
|
||||
{
|
||||
delete mPortalState;
|
||||
}
|
||||
|
||||
void DFrameBuffer::SetSize(int width, int height)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue