mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-24 10:14:13 -05:00
Remove unused variables
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user