From eda7e84aac661f19478b2e5fe94d8899c9782cc8 Mon Sep 17 00:00:00 2001 From: mano-wii Date: Thu, 25 Apr 2019 14:09:01 +0200 Subject: GHOST: remove OpenGL depth buffer, remove code for other unused buffers Viewport drawing has moved to offscreen buffers, and we no longer need to have depth, stencil, aa samples, sRGB buffers as part of the window. So all that code is removed now. The depth buffer was the only one still being allocated, its removal save a bit of memory. Code by Germano and Brecht. Differential Revision: https://developer.blender.org/D4708 --- intern/ghost/GHOST_Types.h | 1 - 1 file changed, 1 deletion(-) (limited to 'intern/ghost/GHOST_Types.h') diff --git a/intern/ghost/GHOST_Types.h b/intern/ghost/GHOST_Types.h index 36678bcc913..69513ec514c 100644 --- a/intern/ghost/GHOST_Types.h +++ b/intern/ghost/GHOST_Types.h @@ -49,7 +49,6 @@ typedef int GHOST_TInt32; typedef unsigned int GHOST_TUns32; typedef struct { - GHOST_TUns16 numOfAASamples; int flags; } GHOST_GLSettings; -- cgit v1.2.3