view TaskManager/Test/simple_pack/trash/mygl.cpp @ 53:0c8ae614d421

Initial revision
author chiaki
date Fri, 15 Feb 2008 20:58:50 +0900
parents
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;
    }

}