mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
Try to make the inlucde sequence simpler in gpu for GLBackend
This commit is contained in:
parent
5baf993c24
commit
4972cb024f
4 changed files with 0 additions and 23 deletions
|
@ -10,12 +10,6 @@
|
|||
//
|
||||
#include "Batch.h"
|
||||
|
||||
#include <GLMHelpers.h>
|
||||
#include <QDebug>
|
||||
|
||||
#include "GPUConfig.h"
|
||||
|
||||
|
||||
#if defined(NSIGHT_FOUND)
|
||||
#include "nvToolsExt.h"
|
||||
|
||||
|
@ -288,15 +282,3 @@ void Batch::getQuery(const QueryPointer& query) {
|
|||
_params.push_back(_queries.cache(query));
|
||||
}
|
||||
|
||||
void push_back(Batch::Params& params, const vec3& v) {
|
||||
params.push_back(v.x);
|
||||
params.push_back(v.y);
|
||||
params.push_back(v.z);
|
||||
}
|
||||
|
||||
void push_back(Batch::Params& params, const vec4& v) {
|
||||
params.push_back(v.x);
|
||||
params.push_back(v.y);
|
||||
params.push_back(v.z);
|
||||
params.push_back(v.a);
|
||||
}
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
#include "GLBackendShared.h"
|
||||
|
||||
#include <mutex>
|
||||
#include "GPULogging.h"
|
||||
#include <glm/gtc/type_ptr.hpp>
|
||||
|
||||
using namespace gpu;
|
||||
|
|
|
@ -18,8 +18,6 @@
|
|||
#include "GPUConfig.h"
|
||||
|
||||
#include "Context.h"
|
||||
#include "Batch.h"
|
||||
|
||||
|
||||
namespace gpu {
|
||||
|
||||
|
|
|
@ -16,8 +16,6 @@
|
|||
#include "GPULogging.h"
|
||||
#include "GLBackend.h"
|
||||
|
||||
#include "Batch.h"
|
||||
|
||||
static const GLenum _primitiveToGLmode[gpu::NUM_PRIMITIVES] = {
|
||||
GL_POINTS,
|
||||
GL_LINES,
|
||||
|
|
Loading…
Reference in a new issue