Browse Source

Fix travis

Panagiotis Christopoulos Charitos 6 years ago
parent
commit
0a55f3106e
3 changed files with 4 additions and 1 deletions
  1. 1 0
      .travis.yml
  2. 2 0
      README.md
  3. 1 1
      src/anki/renderer/TileAllocator.cpp

+ 1 - 0
.travis.yml

@@ -13,6 +13,7 @@ packages:
   - cmake
   - libvulkan-dev
   - libegl1-mesa-dev
+  - libx11-xcb-dev
 
 matrix:
   include:

+ 2 - 0
README.md

@@ -60,6 +60,8 @@ Prerequisites:
 - Cmake 3.0 and up
 - VulkanSDK version 1.1.x and up
 	- Add an environment variable named `VULKAN_SDK` that points to the installation path of VulkanSDK
+- Python 3.0 and up
+	- Make sure that the python executable's location is in `PATH` environment variable
 - Microsoft Visual Studio 2017 and up
 
 To build the release version open `PowerShell` and type:

+ 1 - 1
src/anki/renderer/TileAllocator.cpp

@@ -16,7 +16,7 @@ public:
 	U64 m_lightUuid = 0;
 	U32 m_lightDrawcallCount = 0;
 	Array<U16, 4> m_viewport = {};
-	Array<U16, 4> m_subTiles = {MAX_U16, MAX_U16, MAX_U16, MAX_U16};
+	Array<U16, 4> m_subTiles = {{MAX_U16, MAX_U16, MAX_U16, MAX_U16}};
 	U16 m_superTile = MAX_U16;
 	U8 m_lightLod = 0;
 	U8 m_lightFace = 0;