Remove unused variables
This commit is contained in:
parent
3967c6354a
commit
732d24caa1
@ -497,8 +497,6 @@ void device_load_samplerstate(gs_device_t device, gs_samplerstate_t ss,
|
||||
|
||||
void device_load_vertexshader(gs_device_t device, gs_shader_t vertshader)
|
||||
{
|
||||
GLuint program = 0;
|
||||
|
||||
if (device->cur_vertex_shader == vertshader)
|
||||
return;
|
||||
|
||||
|
@ -1701,9 +1701,6 @@ struct obs_source_frame *obs_source_get_frame(obs_source_t source)
|
||||
|
||||
/* reset timing to current system time */
|
||||
if (frame) {
|
||||
uint64_t min_expected_sys_ts =
|
||||
frame->timestamp + source->timing_adjust;
|
||||
|
||||
source->timing_adjust = sys_time - frame->timestamp;
|
||||
source->timing_set = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user