You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
SCons: Re-enable treating #warning as error with werror
Replace all TODO uses of `#warning` by proper TODO comments, and will open matching bug reports to keep track of them. We don't have a great track record fixing TODOs, but I'd wager we're even worse for fixing these "TODO #warning" so we should prohibit this usage.
This commit is contained in:
@@ -102,10 +102,8 @@ void RendererCompositorRD::begin_frame(double frame_step) {
|
||||
}
|
||||
|
||||
void RendererCompositorRD::end_frame(bool p_swap_buffers) {
|
||||
#ifndef _MSC_VER
|
||||
#warning TODO: likely pass a bool to swap buffers to avoid display?
|
||||
#endif
|
||||
RD::get_singleton()->swap_buffers(); //probably should pass some bool to avoid display?
|
||||
// TODO: Likely pass a bool to swap buffers to avoid display?
|
||||
RD::get_singleton()->swap_buffers();
|
||||
}
|
||||
|
||||
void RendererCompositorRD::initialize() {
|
||||
|
||||
Reference in New Issue
Block a user