Merge "Add api for load image from encoded buffer + fix file-reader.h bug" into devel...
authorEunki Hong <eunkiki.hong@samsung.com>
Thu, 10 Jun 2021 05:43:57 +0000 (05:43 +0000)
committerGerrit Code Review <gerrit@review>
Thu, 10 Jun 2021 05:43:57 +0000 (05:43 +0000)
dali/internal/graphics/gles-impl/gles-context.cpp
dali/internal/window-system/common/gl-window-impl.cpp

index 31e0713..077d2c6 100644 (file)
@@ -246,7 +246,7 @@ void Context::Flush(bool reset, const GLES::DrawCallDescriptor& drawCall)
   }
 
   // for each attribute bind vertices
-  const auto& pipelineState = mImpl->mNewPipeline->GetCreateInfo();
+  const auto& pipelineState = mImpl->mNewPipeline ? mImpl->mNewPipeline->GetCreateInfo() : mImpl->mCurrentPipeline->GetCreateInfo();
   const auto& vi            = pipelineState.vertexInputState;
   for(const auto& attr : vi->attributes)
   {
index b491bc7..d94dbe8 100644 (file)
@@ -74,6 +74,7 @@ GlWindow::GlWindow()
   mOpaqueState(false),
   mResizeEnabled(false),
   mVisible(false),
+  mIsWindowRotated(false),
   mIsTouched(false),
   mIsEGLInitialized(false),
   mDepth(false),