Exclude RD creation test functions from templates
This commit is contained in:
@ -2570,6 +2570,7 @@ void OS_Windows::add_frame_delay(bool p_can_draw) {
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
bool OS_Windows::_test_create_rendering_device(const String &p_display_driver) const {
|
||||
// Tests Rendering Device creation.
|
||||
|
||||
@ -2662,6 +2663,7 @@ bool OS_Windows::_test_create_rendering_device_and_gl(const String &p_display_dr
|
||||
UnregisterClassW(L"Engine probe window", GetModuleHandle(nullptr));
|
||||
return ok;
|
||||
}
|
||||
#endif
|
||||
|
||||
OS_Windows::OS_Windows(HINSTANCE _hInstance) {
|
||||
hInstance = _hInstance;
|
||||
|
||||
@ -257,8 +257,10 @@ public:
|
||||
|
||||
void set_main_window(HWND p_main_window) { main_window = p_main_window; }
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
virtual bool _test_create_rendering_device_and_gl(const String &p_display_driver) const override;
|
||||
virtual bool _test_create_rendering_device(const String &p_display_driver) const override;
|
||||
#endif
|
||||
|
||||
HINSTANCE get_hinstance() { return hInstance; }
|
||||
OS_Windows(HINSTANCE _hInstance);
|
||||
|
||||
Reference in New Issue
Block a user