Cleanup: remove unused variable, invalid comment & typo
This commit is contained in:
parent
8efff3b2d7
commit
55c5692364
|
@ -1788,7 +1788,6 @@ if(CMAKE_COMPILER_IS_GNUCC)
|
|||
# The crashes can be resolved by disabling the flag per module (but not via pragmas).
|
||||
# However this also causes a type mix-up FreeStyle (Blender & FreeStyle's `Curve`)
|
||||
# so it seems to impact GCC's the internal state enough that it's too risky to enable.
|
||||
# Once this flag has been removed for the modules where this occurs.
|
||||
# When this is resolved the check can be enabled for fixed GCC versions.
|
||||
#
|
||||
# Prevents linking errors with MSVC.
|
||||
|
|
|
@ -291,7 +291,7 @@ uint64_t GHOST_SystemX11::getMilliSeconds() const
|
|||
|
||||
uint64_t GHOST_SystemX11::ms_from_input_time(const Time timestamp) const
|
||||
{
|
||||
GHOST_ASSERT(timestamp >= m_start_time_monotonic, "Invalid time-stemp");
|
||||
GHOST_ASSERT(timestamp >= m_start_time_monotonic, "Invalid time-stamp");
|
||||
/* NOTE(@ideasman42): Return a time compatible with `getMilliSeconds()`,
|
||||
* this is needed as X11 time-stamps use monotonic time.
|
||||
* The X11 implementation *could* use any basis, in practice though we are supporting
|
||||
|
|
|
@ -383,7 +383,6 @@ static void gpencil_render_to_image(void * /*vedata*/,
|
|||
|
||||
Render *render = engine->re;
|
||||
Depsgraph *depsgraph = DRW_context_state_get()->depsgraph;
|
||||
Scene *scene = DRW_context_state_get()->scene;
|
||||
Object *camera_original_ob = RE_GetCamera(render);
|
||||
const char *viewname = RE_GetActiveRenderView(render);
|
||||
const int2 render_resolution = int2(engine->resolution_x, engine->resolution_y);
|
||||
|
|
Loading…
Reference in New Issue