mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2024-11-22 12:01:42 +00:00
fixed the Im3d NewFrame / EndFrame mismatch
This commit is contained in:
parent
492427df2e
commit
f56adc9ce6
1 changed files with 5 additions and 0 deletions
|
@ -222,6 +222,11 @@ void Im3D::BeginFrame()
|
|||
|
||||
void Im3D::Draw(const drawSceneViewCommand_t& cmd, HTexture colorTarget, HTexture depthTarget)
|
||||
{
|
||||
if(cmd.viewParms.isPortal || !IsViewportFullscreen(cmd.viewParms))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
#if 0 // cpm3 test/demo code
|
||||
{
|
||||
static Im3d::Vec3 translation(700, 50, -50);
|
||||
|
|
Loading…
Reference in a new issue