The H3.3 K27M mutation results in a poorer prognosis in brainstem gliomas than thalamic gliomas in adults.