From 03089ec35d16bdea3e66acd8ec63dfd768edefce Mon Sep 17 00:00:00 2001 From: Alexis Maiquez Date: Thu, 9 Sep 2021 20:59:49 +0200 Subject: [PATCH] + added mentions of glew and glut requirements in the readme + added PKGV0013 to the list of supported packages Signed-off-by: Alexis Maiquez --- README.md | 4 +++- src/WallpaperEngine/Assets/CPackage.cpp | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index aecd60e..93b26e7 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,8 @@ Wallpaper Engine is a software designed by [Kristjan Skutta](https://store.steam - Xrandr - GLFW3 - GLM +- GLEW +- GLUT - FreeImage # 5. How to use @@ -93,6 +95,6 @@ This was the first background to even be compatible with the software. And It's ![example](docs/images/example.gif) -# 6. Special thanks +# 7. Special thanks - [RePKG](https://github.com/notscuffed/repkg) for the information on texture flags - [RenderDoc](https://github.com/baldurk/renderdoc) for the so helpful OpenGL debugging tool that simplified finding issues on the new OpenGL code. Seriously this tool ROCKS diff --git a/src/WallpaperEngine/Assets/CPackage.cpp b/src/WallpaperEngine/Assets/CPackage.cpp index df12b32..c64a9ab 100644 --- a/src/WallpaperEngine/Assets/CPackage.cpp +++ b/src/WallpaperEngine/Assets/CPackage.cpp @@ -108,7 +108,8 @@ void CPackage::validateHeader (FILE* fp) strcmp ("PKGV0009", pointer) != 0 && strcmp ("PKGV0004", pointer) != 0 && strcmp ("PKGV0005", pointer) != 0 && - strcmp ("PKGV0006", pointer) != 0) + strcmp ("PKGV0006", pointer) != 0 && + strcmp ("PKGV0013", pointer) != 0) { delete[] pointer; throw std::runtime_error ("Unsupported package version");