TINYGL: Janitorial
This commit is contained in:
parent
c98fe1c61c
commit
b673e0adf5
16 changed files with 138 additions and 131 deletions
|
@ -42,7 +42,7 @@ static inline int interpolate(int v00, int v01, int v10, int xf, int yf) {
|
|||
// TODO: more accurate resampling
|
||||
|
||||
void GLContext::gl_resizeImage(Graphics::PixelBuffer &dest, int xsize_dest, int ysize_dest,
|
||||
const Graphics::PixelBuffer &src, int xsize_src, int ysize_src) {
|
||||
const Graphics::PixelBuffer &src, int xsize_src, int ysize_src) {
|
||||
int point1_offset, point2_offset, point3_offset, dest_offset = 0;
|
||||
int point_y_offset, point_offset;
|
||||
float x1, y1, x1inc, y1inc;
|
||||
|
@ -111,7 +111,7 @@ void GLContext::gl_resizeImage(Graphics::PixelBuffer &dest, int xsize_dest, int
|
|||
|
||||
// resizing with no interlating nor nearest pixel
|
||||
void GLContext::gl_resizeImageNoInterpolate(Graphics::PixelBuffer &dest, int xsize_dest, int ysize_dest,
|
||||
const Graphics::PixelBuffer &src, int xsize_src, int ysize_src) {
|
||||
const Graphics::PixelBuffer &src, int xsize_src, int ysize_src) {
|
||||
int dest_offset = 0;
|
||||
int x1, y1, x1inc, y1inc;
|
||||
int yi;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue