view old/simple_render/trash/mygl.cpp @ 935:e54842e4d97b

-a option for sort
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 31 Jul 2010 03:13:24 +0900
parents 735f76483bb2
children
line wrap: on
line source

#include <iostream>
#include <SDL.h>
using namespace std;

void write_pixel(int x, int y)
{
  int i;
  for (i=0; i<height; i++)
    {
      pixels[i*width] = 0xff;
    }

}