forked from santaclose/ImGuiColorTextEdit
-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathmain.cpp
More file actions
32 lines (24 loc) · 610 Bytes
/
Copy pathmain.cpp
File metadata and controls
32 lines (24 loc) · 610 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// TextEditor - A syntax highlighting text editor for ImGui
// Copyright (c) 2024-2026 Johan A. Goossens. All rights reserved.
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
//
// Configure platform
//
// Default backend is the SDL3 GPU backend
// Other backends can be specified in CMakeLists.txt
//
#if D3D11
#include "wind3d11.h"
#else
#include "sdl3gpu.h"
#endif
//
// main
//
int main(int, char**) {
// the real main function is called example and
// is located in the backend includes listed above
return example();
}