Skip to content

Commit

Permalink
[skip ci] Merge pull request #150 from caiiiycuk/html5
Browse files Browse the repository at this point in the history
Increase life time of unused buffers for GPX version; Update README.md
  • Loading branch information
IonAgorria authored May 20, 2024
2 parents 8d58afd + 9ca3384 commit ce080bd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

Discord: https://discord.com/invite/jg9G7cp

Community in telegram: https://t.me/PerimeterGame

## About

Perimeter is a real-time strategy video game with unique gameplay elements such as terraforming deformable terrain,
Expand All @@ -23,6 +25,11 @@ Some parts may still need fixing or be experimental, expect some unexpected beha

Issues for feature requests, suggestions, propositions, bugs, pull requests and other contributions are welcomed.

## Where to play

* Windows/Linux/MacOS [Steam](https://store.steampowered.com/app/289440/Perimeter/)
* Web [GamePix](https://www.gamepix.com/play/perimeter)

## Лицензией | License

© ООО "КД ВИЖЕН" (Калининград) | © LLC "KD VISION" (Kaliningrad)
Expand Down
6 changes: 5 additions & 1 deletion Source/Render/sokol/SokolRenderState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ void sokol_metal_render_callback() {
#endif

//How many frames to store the resources until freed
const uint32_t MAX_POOLED_RESOURCES_LIFE = 10000;
#ifndef GPX
const uint32_t MAX_POOLED_RESOURCES_LIFE = 10000;
#else
const uint32_t MAX_POOLED_RESOURCES_LIFE = 32000;
#endif

int cSokolRender::BeginScene() {
RenderSubmitEvent(RenderEvent::BEGIN_SCENE, ActiveScene ? "ActiveScene" : "");
Expand Down

0 comments on commit ce080bd

Please sign in to comment.