# GMLscripts.com

Discuss and collaborate on GML scripts

You are not logged in.

Offline

## #2 2008-06-29 12:13:34

xot
Registered: 2007-08-18
Posts: 1,201

### Re: Primitive Bug (GM6)

Interesting. I haven't experienced any problems or unusual behavior. I've tested all of the primitives with the draw_primitive and d3d_primitive functions using one and two vertices in both GM6.1 and GM7. I did not test textured primitives. If a line or triangle required more vertices than it was given, the display did not change. I'd guess that it is the GPU/driver that is causing the crash because it is getting unexpected data from Game Maker. It may only be a driver issue but it could be that GM sending data it shouldn't be. The same probably holds true with draw_line_width_color().

Can you provide some code or a download that always crashes you computer?

Abusing forum power since 1986.

Offline

Offline

## #4 2008-06-30 11:45:20

xot
Registered: 2007-08-18
Posts: 1,201

### Re: Primitive Bug (GM6)

I didn't have any problem with that. The bit about not being able to reproduce the crash in a new project is interesting. When I was initially checking out draw_line_width_color() in Fede-lasse's paint example, for some reason it did not crash, but it did cause massive lag with zero length lines. Only when I tried to reproduce the problem in a new project did I start getting crashes.

Abusing forum power since 1986.

Offline