Thread: SDL Performance problem

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    It seems to run better except it also seems to throw the y * screen->pitch + x thing out of whack; it draws off the top of the screen a bit.
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  2. #2
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    Jesus, I just tried rand()(omly) plotting pixels and CPU usage peaks at 77%. Mad.

    EDIT: Actually maybe that's normal. But it's still quite sticky.
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problems compiling this SDL app
    By Rider in forum C++ Programming
    Replies: 3
    Last Post: 03-27-2007, 12:22 PM
  2. Laptop Problem
    By Boomba in forum Tech Board
    Replies: 1
    Last Post: 03-07-2006, 06:24 PM
  3. SDL problem
    By ElastoManiac in forum Game Programming
    Replies: 11
    Last Post: 01-11-2006, 02:45 AM
  4. A Little Performance Related SDL Question...
    By Comrade_Yeti in forum Game Programming
    Replies: 14
    Last Post: 12-09-2005, 07:46 PM
  5. beginner problem
    By The_Nymph in forum C Programming
    Replies: 4
    Last Post: 03-05-2002, 05:46 PM