Defined logic for glutCreateSubWindow when negative position is allowed
authorRcmaniac25 <rcmaniac25@hotmail.com>
Mon, 14 Dec 2015 16:22:25 +0000 (16:22 +0000)
committerDiederick Niehorster <dcnieho@gmail.com>
Mon, 14 Dec 2015 16:22:25 +0000 (16:22 +0000)
commitba0b3e4f7c57925fea4b418356a283a3d8135f2d
treedf5e6eb4413cbb4340e93b162a8bd5b98031057e
parentbb596ccc60c6c7d677e4d2012bdcbdd03252a2ca
Defined logic for glutCreateSubWindow when negative position is allowed

Added check for if fgCreateWindow cannot allocate a window, it will produce an error.

(cherry picked from commit 0ed05f64589fbcc67f225e1dc3ef6f5181fd319f)

(cherry picked from commit 0ed05f64589fbcc67f225e1dc3ef6f5181fd319f)

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1776 7f0cb862-5218-0410-a997-914c9d46530a
src/fg_structure.c
src/fg_window.c