[shader] bind() is now a pure virtual
- Shader::bind() now receives a GLbyte* - BUFFER_OFFSET now uses GLbyte
This commit is contained in:
@@ -16,7 +16,7 @@ void Painter::drawClippingMasks(const std::set<Source*>& sources) {
|
||||
config.colorMask = { false, false, false, false };
|
||||
config.depthRange = { 1.0f, 1.0f };
|
||||
|
||||
coveringPlainArray.bind(*plainShader, tileStencilBuffer, BUFFER_OFFSET(0));
|
||||
coveringPlainArray.bind(*plainShader, tileStencilBuffer, BUFFER_OFFSET_0);
|
||||
|
||||
for (const auto& source : sources) {
|
||||
source->drawClippingMasks(*this);
|
||||
|
||||
Reference in New Issue
Block a user