its finally done
[carveJwlIkooP6JGAAIwe30JlM.git] / render.h
index 41aeef241ef529b7bc33522f8cb1dea880b3d067..b6633943b68df2def3f51499fced0dfbf8885278 100644 (file)
--- a/render.h
+++ b/render.h
@@ -16,6 +16,9 @@
 #include "shaders/vblend.h"
 #endif
 
+#define WORKSHOP_PREVIEW_WIDTH  504
+#define WORKSHOP_PREVIEW_HEIGHT 336
+
 VG_STATIC void render_water_texture( world_instance *world, camera *cam,
                                      int layer_depth );
 VG_STATIC void render_water_surface( world_instance *world, camera *cam );
@@ -181,7 +184,7 @@ framebuffers[] =
       "workshop_preview",
       .link = &gpipeline.fb_workshop_preview,
       .resolution_div = 0,
-      .fixed_w = 504, .fixed_h = 336,
+      .fixed_w = WORKSHOP_PREVIEW_WIDTH, .fixed_h = WORKSHOP_PREVIEW_HEIGHT,
       .attachments = 
       {
          {