Author Topic: Dive: Why does not this work  (Read 104 times)

Jochen Schäfer

  • Sr. Member
  • ****
  • Posts: 331
  • Karma: +28/-0
    • View Profile
Dive: Why does not this work
« on: Today at 08:24:42 am »
I'm trying to use pure OS/2 for ClassiCube instead the much unsupported SDL2 window system (it even has a big #error Don't use it sign at the entry).
So I'm trying to use DIVE, but all I get is the frame window and the background in it. When I move the window around, the background stays in it, i.e. nothing gets drawn.
I looked at the SDL implementation and the Toolkit samples, but I can't understand, what's wrong with my code.

If somebody please can take a look at the attached code give me some hints. I think the ClassiCube code is well structured and understandable, but if you have questions about ask me.

Thanks

Flashback

  • Newbie
  • *
  • Posts: 9
  • Karma: +3/-1
    • View Profile
Re: Dive: Why does not this work
« Reply #1 on: Today at 06:28:12 pm »
I seem to remember, that DIVE doesn't like 'BGR4'. Try to set up your source buffer as 'BGR3'. Also I don't see, where 'fccColorFormat' is initialized.