mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-25 12:17:04 +00:00
Merge pull request #2524 from heuripedes/master
(menu) Fix heap overflow
This commit is contained in:
commit
f89d9822da
@ -20,7 +20,6 @@
|
||||
#include "menu_cbs.h"
|
||||
#include "menu_display.h"
|
||||
#include "menu_hash.h"
|
||||
#include "menu_shader.h"
|
||||
|
||||
#include "../general.h"
|
||||
#include "../frontend/frontend.h"
|
||||
|
15
menu/menu.h
15
menu/menu.h
@ -25,24 +25,11 @@
|
||||
#include <boolean.h>
|
||||
|
||||
#include "menu_driver.h"
|
||||
#include "menu_shader.h"
|
||||
#include "../driver.h"
|
||||
#include "../input/input_driver.h"
|
||||
#include "../dynamic.h"
|
||||
|
||||
#if defined(HAVE_CG) || defined(HAVE_HLSL) || defined(HAVE_GLSL)
|
||||
#ifndef HAVE_SHADER_MANAGER
|
||||
#define HAVE_SHADER_MANAGER
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef GFX_MAX_PARAMETERS
|
||||
#define GFX_MAX_PARAMETERS 64
|
||||
#endif
|
||||
|
||||
#ifndef GFX_MAX_SHADERS
|
||||
#define GFX_MAX_SHADERS 16
|
||||
#endif
|
||||
|
||||
#ifndef MAX_COUNTERS
|
||||
#define MAX_COUNTERS 64
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user