LLE : Small cleanups
This commit is contained in:
parent
7a9e0668af
commit
133222ff30
|
@ -1699,7 +1699,6 @@ std::chrono::time_point<std::chrono::steady_clock, std::chrono::duration<double,
|
|||
// otherwise, m_CurrentAvInfo will never be initialised!
|
||||
// 20ms should be used in the case of 50hz
|
||||
return std::chrono::steady_clock::now() + 16.6666666667ms;
|
||||
//return std::chrono::steady_clock::now() + 166.666666667ms;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -807,8 +807,6 @@ void cxbx_gl_render_framebuffer(NV2AState *d)
|
|||
|
||||
void pvideo_init(NV2AState *d)
|
||||
{
|
||||
d->pvideo.overlays[0].gl_texture = 0;
|
||||
d->pvideo.overlays[1].gl_texture = 0;
|
||||
//qemu_cond_init(&d->pvideo.interrupt_cond);
|
||||
}
|
||||
|
||||
|
@ -823,6 +821,7 @@ void pvideo_destroy(NV2AState *d)
|
|||
glDeleteTextures(1, &d->pvideo.overlays[1].gl_texture);
|
||||
d->pvideo.overlays[1].gl_texture = 0;
|
||||
}
|
||||
|
||||
//qemu_cond_destroy(&d->pvideo.interrupt_cond);
|
||||
}
|
||||
|
||||
|
|
|
@ -483,7 +483,7 @@ typedef struct OverlayState {
|
|||
int old_in_width;
|
||||
int old_in_height;
|
||||
int old_pitch;
|
||||
GLuint gl_texture = -1;
|
||||
GLuint gl_texture;
|
||||
} OverlayState;
|
||||
|
||||
typedef struct ChannelControl {
|
||||
|
|
Loading…
Reference in New Issue