[core] Adjust mapbox-gl-native for the updated debug shader semantics
This commit is contained in:
@@ -1,23 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
#include <mbgl/programs/program.hpp>
|
||||
#include <mbgl/programs/attributes.hpp>
|
||||
#include <mbgl/programs/program.hpp>
|
||||
#include <mbgl/programs/textures.hpp>
|
||||
#include <mbgl/programs/uniforms.hpp>
|
||||
#include <mbgl/style/properties.hpp>
|
||||
|
||||
namespace mbgl {
|
||||
|
||||
class DebugProgram : public Program<
|
||||
DebugProgram,
|
||||
gfx::PrimitiveType::Line,
|
||||
TypeList<
|
||||
attributes::pos>,
|
||||
TypeList<
|
||||
uniforms::matrix,
|
||||
uniforms::color>,
|
||||
TypeList<>,
|
||||
style::Properties<>>
|
||||
{
|
||||
namespace uniforms {
|
||||
MBGL_DEFINE_UNIFORM_SCALAR(float, overlay_scale);
|
||||
}
|
||||
class DebugProgram : public Program<DebugProgram,
|
||||
gfx::PrimitiveType::Line,
|
||||
TypeList<attributes::pos>,
|
||||
TypeList<uniforms::matrix, uniforms::color, uniforms::overlay_scale>,
|
||||
TypeList<textures::overlay>,
|
||||
style::Properties<>> {
|
||||
public:
|
||||
using Program::Program;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user