mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-29 09:19:53 +02:00
Fixing PR builds
This commit is contained in:
parent
bac3388693
commit
db30e9c45f
4 changed files with 2 additions and 5 deletions
|
@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 26
|
compileSdkVersion 26
|
||||||
buildToolsVersion '27.0.3'
|
//buildToolsVersion '27.0.3'
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "io.highfidelity.hifiinterface"
|
applicationId "io.highfidelity.hifiinterface"
|
||||||
|
|
|
@ -172,7 +172,7 @@ public:
|
||||||
_context->makeCurrent();
|
_context->makeCurrent();
|
||||||
CHECK_GL_ERROR();
|
CHECK_GL_ERROR();
|
||||||
#if defined(Q_OS_MAC)
|
#if defined(Q_OS_MAC)
|
||||||
newPlugin->swapBuffers()
|
newPlugin->swapBuffers();
|
||||||
#endif
|
#endif
|
||||||
gl::setSwapInterval(wantVsync ? 1 : 0);
|
gl::setSwapInterval(wantVsync ? 1 : 0);
|
||||||
#if defined(Q_OS_MAC)
|
#if defined(Q_OS_MAC)
|
||||||
|
|
|
@ -166,7 +166,6 @@ enum ForwardShader_BufferSlot {
|
||||||
|
|
||||||
void PrepareForward::run(const RenderContextPointer& renderContext, const Inputs& inputs) {
|
void PrepareForward::run(const RenderContextPointer& renderContext, const Inputs& inputs) {
|
||||||
RenderArgs* args = renderContext->args;
|
RenderArgs* args = renderContext->args;
|
||||||
const auto& lightingModel = inputs;
|
|
||||||
gpu::doInBatch(args->_context, [&](gpu::Batch& batch) {
|
gpu::doInBatch(args->_context, [&](gpu::Batch& batch) {
|
||||||
args->_batch = &batch;
|
args->_batch = &batch;
|
||||||
|
|
||||||
|
|
|
@ -30,8 +30,6 @@ int main(int argc, char** argv) {
|
||||||
}
|
}
|
||||||
glClearColor(1.0, 0.0, 1.0, 1.0);
|
glClearColor(1.0, 0.0, 1.0, 1.0);
|
||||||
glClear(GL_COLOR_BUFFER_BIT);
|
glClear(GL_COLOR_BUFFER_BIT);
|
||||||
auto err = glGetError();
|
|
||||||
|
|
||||||
window->swapBuffers();
|
window->swapBuffers();
|
||||||
window->doneCurrent();
|
window->doneCurrent();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue