mirror of
https://github.com/TomHarte/CLK.git
synced 2024-07-11 04:28:58 +00:00
Removed some dead caveman debugging statements.
This commit is contained in:
parent
9b2061be98
commit
a75259ce9f
@ -42,7 +42,6 @@ void CRTInputBufferBuilder::allocate_write_area(size_t required_length)
|
|||||||
|
|
||||||
_write_x_position = _next_write_x_position + 1;
|
_write_x_position = _next_write_x_position + 1;
|
||||||
_write_y_position = _next_write_y_position;
|
_write_y_position = _next_write_y_position;
|
||||||
// printf("#%d,%d#\n", _write_x_position, _write_y_position);
|
|
||||||
_write_target_pointer = (_write_y_position * InputBufferBuilderWidth) + _write_x_position;
|
_write_target_pointer = (_write_y_position * InputBufferBuilderWidth) + _write_x_position;
|
||||||
_next_write_x_position += required_length + 2;
|
_next_write_x_position += required_length + 2;
|
||||||
}
|
}
|
||||||
@ -53,7 +52,6 @@ void CRTInputBufferBuilder::release_write_pointer()
|
|||||||
if(_should_reset)
|
if(_should_reset)
|
||||||
{
|
{
|
||||||
_next_write_x_position = _next_write_y_position = 0;
|
_next_write_x_position = _next_write_y_position = 0;
|
||||||
// printf("#Reset!#\n");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -126,7 +126,6 @@ class OpenGLOutputBuilder {
|
|||||||
{
|
{
|
||||||
if(_output_buffer_data_pointer == _drawn_output_buffer_data_pointer + OutputVertexBufferDataSize) return nullptr;
|
if(_output_buffer_data_pointer == _drawn_output_buffer_data_pointer + OutputVertexBufferDataSize) return nullptr;
|
||||||
_output_mutex->lock();
|
_output_mutex->lock();
|
||||||
// printf("{%ld}", _output_buffer_data_pointer % OutputVertexBufferDataSize);
|
|
||||||
return &_output_buffer_data[_output_buffer_data_pointer % OutputVertexBufferDataSize];
|
return &_output_buffer_data[_output_buffer_data_pointer % OutputVertexBufferDataSize];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user