view old/simple_render/trash/mygl.cpp @ 754:e625f9524047

property add
author admin@yin.cr.ie.u-ryukyu.ac.jp
date Wed, 27 Jan 2010 18:55:37 +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;
    }

}