1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

Move ShaderCreateDialog's ShaderType enum out of the header

This commit is contained in:
Aaron Franke
2022-08-15 15:08:50 -05:00
parent 4dbb6ecc21
commit a165d4dd72
2 changed files with 7 additions and 7 deletions

View File

@@ -37,6 +37,13 @@
#include "scene/resources/visual_shader.h"
#include "servers/rendering/shader_types.h"
enum ShaderType {
SHADER_TYPE_TEXT,
SHADER_TYPE_VISUAL,
SHADER_TYPE_INC,
SHADER_TYPE_MAX,
};
void ShaderCreateDialog::_notification(int p_what) {
switch (p_what) {
case NOTIFICATION_ENTER_TREE: {