Skip to content

Commit

Permalink
Merge pull request #38 from mortennobel/develop
Browse files Browse the repository at this point in the history
1.1.3
  • Loading branch information
mortennobel authored Jul 23, 2018
2 parents 7e52507 + dada9c7 commit 4b31771
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/sre/Renderer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ namespace sre {
~Renderer();
static constexpr int sre_version_major = 1;
static constexpr int sre_version_minor = 1;
static constexpr int sre_version_point = 2;
static constexpr int sre_version_point = 3;

glm::ivec2 getWindowSize(); // Return the current size of the window

Expand Down
2 changes: 0 additions & 2 deletions src/sre/SpriteBatch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ namespace sre{
std::sort(sprites.begin(), sprites.end(), [](const Sprite & a,const Sprite & b){
return a.order.globalOrder < b.order.globalOrder;
});
auto& s0 = sprites[0];
auto& s1 = sprites[1];
std::vector<glm::vec3> vertices;
std::vector<glm::vec4> colors;
std::vector<glm::vec4> uvs;
Expand Down
1 change: 1 addition & 0 deletions version-history.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## Version history

* 1.1.3 Fix sprite atlas bug (Windows).
* 1.1.2 Maintain uniforms on shader recompile. Add ImGui_RenderTexture(). Add SDLRenderer::setWindowIcon(). More strict resource management for shader code.
* 1.1.1 Libraries as submodules. Mesh::MeshBuilder::recomputeNormals(). Mesh::MeshBuilder::recomputeTangents().
* 1.1.0 Shadowmap support. Mesh indices 32 bit option (now uses uint32_t for mesh indices instead of uint16_t). Fixed Camera::screenPointToRay for scaled/offset viewport.
Expand Down

0 comments on commit 4b31771

Please sign in to comment.