Codebase list frei0r / 753c5a1
Update upstream source from tag 'upstream/2.5.6' Update to upstream version '2.5.6' with Debian dir 84e23e17dbb425c6002ac9ecc4b2005b9c05707d IOhannes m zmölnig (Debian/GNU) 3 months ago
1 changed file(s) with 9 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
3838 uint32_t *current_buffer, *alt_buffer;
3939
4040 uint32_t *buffer;
41 uint8_t is_buffer_init;
4142 int dx, dy;
4243 int sx, sy;
4344
185186
186187 double vx, vy;
187188 double dizz;
188
189
189190 dizz = sin(inst->phase) * 10 + sin(inst->phase*1.9+5) * 5;
191
192 if (!inst->is_buffer_init)
193 {
194 memcpy(inst->buffer, inframe, inst->pixels * sizeof(uint32_t));
195 memcpy(&inst->buffer[inst->pixels], inframe, inst->pixels * sizeof(uint32_t));
196 inst->is_buffer_init = 1;
197 }
190198
191199 if(w > h)
192200 {