Skip to content

Commit

Permalink
*API Breaking Change*: ulCreateView and Renderer::CreateView have a n…
Browse files Browse the repository at this point in the history
…ew parameter, 'force_cpu_renderer' that allow you to force a View render to an offscreen Surface even when the GPU renderer is enabled in the Config. (Needed for issue #271)
  • Loading branch information
adamjs committed Sep 24, 2020
1 parent 8e54998 commit 7bca39b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Deps.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ endif ()

set(ULTRALIGHTCORE_REV "b271c5d0")
set(WEBCORE_REV "8609dbb8")
set(ULTRALIGHT_REV "4ecb5f9f")
set(APPCORE_REV "2a89fec")
set(ULTRALIGHT_REV "0f757c43")
set(APPCORE_REV "f94a60b")

set(ULTRALIGHTCORE_DIR "${CMAKE_CURRENT_BINARY_DIR}/deps/UltralightCore/")
set(WEBCORE_DIR "${CMAKE_CURRENT_BINARY_DIR}/deps/WebCore/")
Expand Down
2 changes: 1 addition & 1 deletion samples/Sample 1 - Render to PNG/main_capi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ int main() {
///
/// Views are sized containers for loading and displaying web content.
///
ULView view = ulCreateView(renderer, 1600, 1600, false, 0);
ULView view = ulCreateView(renderer, 1600, 1600, false, 0, false);

///
/// Register OnFinishLoading() callback with our View.
Expand Down

0 comments on commit 7bca39b

Please sign in to comment.