view old/simple_pack/trash/mygl.cpp @ 1644:b9f46cc511d3 draft

fix
author Masa <e085726@ie.u-ryukyu.ac.jp>
date Mon, 24 Jun 2013 12:23:36 +0900
parents 3bc98f6d31ff
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;
    }

}