mirror of
https://github.com/TomHarte/CLK.git
synced 2024-10-02 19:54:35 +00:00
Signedness fixes.
This commit is contained in:
parent
2b5d0877a8
commit
449c33ee8b
@ -102,7 +102,7 @@ void OpenGLOutputBuilder::draw_frame(unsigned int output_width, unsigned int out
|
|||||||
}
|
}
|
||||||
|
|
||||||
// make sure there's a target to draw to
|
// make sure there's a target to draw to
|
||||||
if(!framebuffer_ || framebuffer_->get_height() != output_height || framebuffer_->get_width() != output_width) {
|
if(!framebuffer_ || (unsigned int)framebuffer_->get_height() != output_height || (unsigned int)framebuffer_->get_width() != output_width) {
|
||||||
std::unique_ptr<OpenGL::TextureTarget> new_framebuffer(new OpenGL::TextureTarget((GLsizei)output_width, (GLsizei)output_height, pixel_accumulation_texture_unit, GL_LINEAR));
|
std::unique_ptr<OpenGL::TextureTarget> new_framebuffer(new OpenGL::TextureTarget((GLsizei)output_width, (GLsizei)output_height, pixel_accumulation_texture_unit, GL_LINEAR));
|
||||||
if(framebuffer_) {
|
if(framebuffer_) {
|
||||||
new_framebuffer->bind_framebuffer();
|
new_framebuffer->bind_framebuffer();
|
||||||
|
@ -104,8 +104,8 @@ class Speaker {
|
|||||||
|
|
||||||
std::vector<int16_t> buffer_in_progress_;
|
std::vector<int16_t> buffer_in_progress_;
|
||||||
float high_frequency_cut_off_;
|
float high_frequency_cut_off_;
|
||||||
int buffer_in_progress_pointer_;
|
size_t buffer_in_progress_pointer_;
|
||||||
int number_of_taps_, requested_number_of_taps_;
|
size_t number_of_taps_, requested_number_of_taps_;
|
||||||
bool coefficients_are_dirty_;
|
bool coefficients_are_dirty_;
|
||||||
Delegate *delegate_;
|
Delegate *delegate_;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user