After cleaning up the code a bit more yesterday, I think its working almost as well as the Direct X implementation. The issue I’m having now is that windows returns two display adapters on my PC. I suppose this is accurate since my graphics card has two monitor slots. The problem is that’s when I ask windows for the second adapter’s display mode it gives me negative invalid numbers for the width, height and color depth which causes an assert. I’ve put in a hack to fix it temporarily as I look for a solution.
Next stop, primitives.
Here is a screenshot.
No comments:
Post a Comment