Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Accessing the screen directly

Author
Message
Mahoney
16
Years of Service
User Offline
Joined: 14th Apr 2008
Location: The Interwebs
Posted: 13th Oct 2008 09:03 Edited at: 13th Oct 2008 09:21
Is it possible? I'm trying either direct or indirect editing of the screen pixels like so:



It crashes, with or without the indirect-method code. How should I do this differently?

EDIT: working now. Sorry.

Windows Vista Home Premium Intel Pentium Dual-Core 1.6 Ghz 1GB DDR2 RAM GeForce 8600GT Twin Turbo
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 13th Oct 2008 15:12
Mahoney
16
Years of Service
User Offline
Joined: 14th Apr 2008
Location: The Interwebs
Posted: 13th Oct 2008 17:46
Quote: "Did you get a valid pointer?"


Yeah. It's working now. Not quite sure what went wrong the first time. I made a Mandelbrot set generator! (Attached, of course.)

Windows Vista Home Premium Intel Pentium Dual-Core 1.6 Ghz 1GB DDR2 RAM GeForce 8600GT Twin Turbo

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-11-25 06:53:03
Your offset time is: 2024-11-25 06:53:03