浏览代码

Update rlgl_compute_shader.c

pull/5096/head
Ray 2 个月前
父节点
当前提交
7e597dd574
共有 1 个文件被更改,包括 5 次插入2 次删除
  1. +5
    -2
      examples/others/rlgl_compute_shader.c

+ 5
- 2
examples/others/rlgl_compute_shader.c 查看文件

@ -51,9 +51,12 @@ int main(void)
{
// Initialization
//--------------------------------------------------------------------------------------
InitWindow(GOL_WIDTH, GOL_WIDTH, "raylib [rlgl] example - compute shader - game of life");
const int screenWidth = GOL_WIDTH;
const int screenHeight = GOL_WIDTH;
const Vector2 resolution = { GOL_WIDTH, GOL_WIDTH };
InitWindow(screenWidth, screenHeight, "raylib [rlgl] example - compute shader - game of life");
const Vector2 resolution = { screenWidth, screenHeight };
unsigned int brushSize = 8;
// Game of Life logic compute shader

正在加载...
取消
保存