view TaskManager/Test/simple_render/trash/mygl.cpp @ 176:08e2bb36639b

fix
author gongo@localhost.localdomain
date Tue, 16 Dec 2008 17:01:24 +0900
parents b6858e9fe2b4
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;
    }

}