PipelineInfo::CullMode and PipelineInfo::RasterMode are no longer within the PipelineInfo class, enabling easier forward declaration.
KRMaterial::bind now accepts remaining parameters required to set up the pipeline. Removed GL calls from KRModel. Replaced ifdef guards with pragma once. KRMesh::model_format_t changed to ModelFormat and is no longer within KRMesh, enabling easier forward declaration.
This commit is contained in:
@@ -29,9 +29,7 @@
|
||||
// or implied, of Kearwood Gilbert.
|
||||
//
|
||||
|
||||
|
||||
#ifndef KRENGINE_COMMON_H
|
||||
#define KRENGINE_COMMON_H
|
||||
#pragma once
|
||||
|
||||
#define KRENGINE_MAX_GPU_COUNT 4
|
||||
#define KRENGINE_DEBUG_GPU_LABELS 1
|
||||
@@ -266,6 +264,4 @@ typedef int KrSurfaceHandle;
|
||||
|
||||
#include "KRBehavior.h"
|
||||
|
||||
#endif
|
||||
|
||||
using namespace kraken;
|
||||
|
||||
Reference in New Issue
Block a user