Mail Archives: djgpp/1996/09/24/21:24:21
Hi, everyone. I found out what I was doing wrong in my program, and
thought I'd post it for other newbies. When you want to use the
Grx2.0 GrCreateContext and GrBitBlt functions, make _certain_ that
the video mode is initialized _before_ you try to create the
context, otherwise a NULL value is returned, and no compile-time or
run-time errors will flag.
Now, as an aside, would someone put this in the FAQ? I'm not a great
C programmer, but neither am I a _total_ idiot, and this had me
stumped for forever. Even better would be better procedural outlines
on graphics functions in the library in the documenation. (I realize
that this was beta, and documentation is still being written).
Anyway, I'm sorry if it sounds like I'm bitching, 'cuz I'm not. Also,
thanks to all the people (alright, just Bill) who helped me with
this.
Cheers,
Jeff
rbachtel AT ghgcorp DOT com
shotoftequila AT juno DOT com
- Raw text -